PrintDir: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Syntax) |
||
Line 2: | Line 2: | ||
====Syntax==== | ====Syntax==== | ||
[[Image:Printdir.png]] | |||
For example, a payroll program (PRREG) prints a register using the following open statement: | For example, a payroll program (PRREG) prints a register using the following open statement: |
Revision as of 16:15, 8 April 2013
The PrintDir configuration statement places a copy of all print files spooled by BR into the specified directory. When BR sends the file to the spooler, it makes a copy of the file using the main active program name with a suffix of the channel number (default is 255).
Syntax
For example, a payroll program (PRREG) prints a register using the following open statement:
OPEN #40: "Name=PRN:/LASER2,Recl=133", DISPLAY, OUTPUT
BR stores a copy of the report in {pathname}\PRREG.40
This option is also available through the CONFIG command.