printer_redirection

Redirects WRITE statements through the Windows print spooler.

The following details are for native COBOL only.

Syntax:

>>-----printer_redirection=----.-TRUE-.-------><
                               +-FALSE+

Parameters:

TRUE Redirect WRITE statements to files defined with the ASSIGN TO PRINTER syntax through the Windows print spooler, rather than sending the output directly to the printer port.
FALSE Output is sent directly to the printer port.

Properties:

Default: FALSE
IDE equivalent: None

Comments:

You can also set printer redirection by calling the PC_PRINTER_REDIRECTION_PROC routine.