PrintDir: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "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 ...")
 
No edit summary
Line 1: Line 1:
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).
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====
====Syntax====

Revision as of 16:13, 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

PRINTDIR pathname

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.