Difference between revisions of "DB PRINTOPT"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Used to define the default system printing operation options | Used to define the default system printing operation options | ||
Line 43: | Line 39: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital, Recital Server |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Configuration]] | [[Category:Configuration]] | ||
[[Category:Environment Variables|PRINTOPT]] | [[Category:Environment Variables|PRINTOPT]] | ||
[[Category:Printing]] | [[Category:Printing]] |
Latest revision as of 09:54, 4 March 2010
Contents
Purpose
Used to define the default system printing operation options
See Also
Configuration Files, DB_PRINT, GETENV(), PUTENV(), SET PRINT, SET PRINTER
Description
The DB_PRINTOPT environment variable is used to define the default system printing operation options in conjunction with the DB_PRINT environment variable. By default, DB_PRINT is set to the print.unix script:
################################################################ # # print.unix: Recital system-wide print file # # Modify this shellscript to handle site-specific printers etc. # ################################################################# lp ${DB_PRINTOPT} $1 > /dev/null 2>&1 tmp=`echo $1 | grep -c .tmp` if [ $tmp -ne 0 ] then rm $1 fi
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.
DB_PRINTOPT="-onobanner -c"
Example
putenv([DB_PRINTOPT],[-dmyprinter]) set printer to \\spooler list status to print set printer to
Products
Recital, Recital Server