The following details are for native COBOL only.
>>-----printer_redirection=----.-TRUE-.-------><
+-FALSE+
| 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. |
| Default: | FALSE |
| IDE equivalent: | None |
You can also set printer redirection by calling the PC_PRINTER_REDIRECTION_PROC routine.