How to print from DOS
There are a few printing functions in DOS. The Print command prints your text in a standard portrait orientation on the printer assigned to LPT1. The LPRT command prints your text in a two-page format using landscape orientation on the printer assigned to LPT1. A text file can also be printed to the LPT2 port.
Files must be saved in ASCII text format.
To print text files using the print command:
Click on Start, then Programs, and select Command Prompt (or MS-DOS Prompt).
At the command line, type: C:\> print textfile.txt and press { Enter}.
To print text files using the LPRT command:
Click on Start, then Programs, and select Command Prompt (or MS-DOS Prompt).
At the command line, type: C:\> lprt textfile.txt
Press { Enter}.
To print a file to LPT2, capture the LPT2 port first:
Click on Start, then Settings, and select Printers.
Right-click on the printer from which you would like to print and click on P roperties.
Click on the Details tab and select the Capture Printer Port... button.
In the Device: field, select LPT2 and in the Path: field, click on the down arrow to select the printer path or type it in manually (for example \\psp-print-02\p16).
Click on OK.
Then click on Start, then Programs, and select Command Prompt (or MS-DOS Prompt).
At the command line, type: C:\> copy textfilename lpt2 and press { Enter}.
Created by the PeopleSoft Knowledge Management Team.
Copyright © 1999
All rights reserved.
Created: jem 11/30/1998
Revised: kcw 09/24/1999