SET PRINT

From Recital Documentation Wiki
Jump to: navigation, search

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 MARGIN, 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 Server, Recital