Difference between revisions of "DB PRINT"

From Recital Documentation Wiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Environment Variables / Symbols
 
 
 
 
==Purpose==
 
==Purpose==
 
Used to define the default system printing operation  
 
Used to define the default system printing operation  
Line 27: Line 23:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server
+
Recital, Recital Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Configuration]]
 
[[Category:Configuration]]
 
[[Category:Environment Variables|PRINT]]
 
[[Category:Environment Variables|PRINT]]
 
[[Category:Printing]]
 
[[Category:Printing]]

Latest revision as of 09:52, 4 March 2010

Purpose

Used to define the default system printing operation


See Also

Configuration Files, DB_PRINTOPT, GETENV(), PUTENV(), SET PRINT, SET PRINTER


Description

The DB_PRINT environment variable is used to define the default system printing operation. It must be either a valid Operating System print command, e.g. on UNIX:

DB_PRINT="lp -dmyprinter -onobanner"

or the name of a file which contains such a command (and any other processing required.) By default, DB_PRINT is set to the file ‘print.unix’ in the recital/bin directory. This can be modified if required, to suit your particular printing environment. The ‘print.unix’ file contains a further environment variable, called DB_PRINTOPT, which can be set to the options that you require on the OS print command. By default, the value of DB_PRINTOPT is set in the conf files, but the PUTENV() function can be used to change this value, and the GETENV() function to query it.


Example

set printer to \\spooler
list status to print
set printer to

Products

Recital, Recital Server