Difference between revisions of "SET PRINT"

From Recital Documentation Wiki
Jump to: navigation, search
Line 35: Line 35:
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|PRINT]]
 
[[Category:Set_Commands|PRINT]]
 +
[[Category:Printing]]
 +
[[Category:Printing Set Commands]]

Revision as of 15:18, 1 June 2009

Class

Printing


Purpose

Direct output text to the printer


Syntax

SET PRINT ON | OFF | (<expL>)


See Also

?, ??, ???, @...SAY, EJECT, PCOL(), PRINT, PRINTSCREEN(), PROW(), SET CONSOLE, SET DEVICE, SET PRINTER, SETPRC()


Description

If SET PRINT is ON, then any textual output which is sent to the screen is also sent to the printer. Full screen forms generated for commands such as APPEND, CHANGE, EDIT, INSERT, and QUERY are not sent to the printer. If you wish to send @...SAY output to the printer and use the PROW() and PCOL() functions, the command SET DEVICE TO PRINT should also be issued.

The SET PRINTER TO command can be used to redirect printer output to a printer attached to a serial communications line, or to cause the printer output to be spooled to the system printer. See the SET PRINTER command for full details. By default, PRINT is OFF.


Example

set print on
use patrons index events, dates, names
list all for event = "BALLET"
set print off


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer