Difference between revisions of "SET PRINT"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET PRINT=
 
 
 
==Class==
 
Printing
 
 
 
 
==Purpose==
 
==Purpose==
 
Direct output text to the printer
 
Direct output text to the printer
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
SET PRINTER, SET DEVICE, @...SAY, EJECT, PRINT, SETPRC(), PROW(), PCOL(), PRINTSCREEN()
+
[[?]], [[??]], [[???]], [[@...SAY]], [[EJECT]], [[PCOL()]], [[PRINT]], [[PRINTSCREEN()]], [[PROW()]], [[SET CONSOLE]], [[SET DEVICE]], [[SET MARGIN]], [[SET PRINTER]], [[SETPRC()]]
  
  
Line 25: Line 18:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set print on
 
set print on
 
use patrons index events, dates, names
 
use patrons index events, dates, names
 
list all for event = "BALLET"
 
list all for event = "BALLET"
set print off</pre>
+
set print off
 +
</code>
  
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 +
[[Category:Documentation]]
 +
[[Category:Commands]]
 +
[[Category:Set_Commands|PRINT]]
 +
[[Category:Printing]]
 +
[[Category:Printing Set Commands]]

Latest revision as of 17:02, 23 November 2009

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