Difference between revisions of "PRINT"
From Recital Documentation Wiki
Helengeorge (Talk | contribs) (→Class) |
Helengeorge (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Print a text file on the printer | Print a text file on the printer | ||
Line 32: | Line 30: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Printing]] | [[Category:Printing]] | ||
[[Category:Printing Commands]] | [[Category:Printing Commands]] |
Latest revision as of 15:56, 12 November 2009
Purpose
Print a text file on the printer
Syntax
PRINT <.txt filename> | (<expC>)
See Also
DB_PRINT, DB_PRINTOPT, EJECT, GETENV(), PUTENV(), RUN, SET MARGIN, SET PRINT, SET PRINTER, SPAWN, TYPE
Description
The PRINT command prints the specified <.txt filename> on the printer. The filename can be substituted with an <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is specified, then '.txt' is assumed. If the file extension is '.tmp' the PRINT command will delete the file after printing it.
The DB_PRINT and DB_PRINTOPT environment variables can be customized to configure print destinations and options.
Example
// Print 4 copies of a report m_filenam = sys(3) = ".txt" report form analysis to file &m_filenam for i=1 to 4 print &m_filenam next erase &m_filenam
Products
Recital Server, Recital