


ACUCOBOL-GT includes extended support for printing under Windows. In addition to the basic print spooler access procedures described below, the WIN$PRINTER runtime library routine provides easy access to extended Windows print spooler capabilities. See the entry for "WIN$PRINTER" in Appendix I "Library Routines" in your online documentation. Rules for printer handling are illustrated in the ACUCOBOL-GT User's Guide, section 2.8.3.
Under Windows, you may print directly to the printer in exactly the same fashion as under Extended-DOS, by defining PRINTER in the configuration file as "-D PRN". Be aware that this does not prevent other programs form printing at the same time and you my have intermixed pages.
You may also print using the Windows spooler, even if your reports have embedded control codes. The spooler allows many programs to create print files at the same time, and also allows the user to do other tasks while the report is being printed.
Before you assign your print file to the Windows spooler, you must decide whether you want to control the format of each page directly (with embedded control codes) or whether you want the print spooler to format the pages.
More: