Question:

How can I use MS-DOS’s PRINT spooler?

Answer:

This covers how to set the Report printer to use MS-DOS’s built in PRINT spooler. You can change the references to LO with the printer name you want to use the PRINT spooler.

In the ENVIRONMENT file, add the first line and change the LO line as follows:

TEMP-DIR C:\TEMP

LO -P %TMP%.PRT PRINT %TMP%.PRT

DOS will leave the spool files even after printing is finished. To keep from filling up your hard drive with all the temp files, add the following line to your AUTOEXEC.BAT file:

DEL C:\TEMP\*.PRT

If you must address the printing device directly, use the MS-DOS MODE command to prevent losing data. The syntax is:

MODE LPT1:RETRY=R