Difference between revisions of "SET PRINT"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=SET PRINT=
 
 
 
 
==Class==
 
==Class==
 
Printing
 
Printing
Line 15: Line 12:
  
 
==See Also==
 
==See Also==
[[@...SAY]], [[EJECT]], [[PRINT]], [[SET DEVICE]], [[SET PRINTER]], [[PCOL()]], [[PRINTSCREEN()]], [[PROW()]], [[SETPRC()]]
+
[[?]], [[??]], [[???]], [[@...SAY]], [[EJECT]], [[PCOL()]], [[PRINT]], [[PRINTSCREEN()]], [[PROW()]], [[SET CONSOLE]], [[SET DEVICE]], [[SET PRINTER]], [[SETPRC()]]
  
  
Line 25: Line 22:
  
 
==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>
  
  

Revision as of 10:26, 17 April 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