How to Use a Printer With DOS
- 1). Click the Windows "Start" button. Type "cmd" into the search text box and press "Enter." This opens the MS DOS command prompt.
- 2). Type the following text into the prompt:
print c:\file.txt /c /d:lpt1
In this example, the file "file.txt" is sent to the printer on lpt1. Replace "lpt1" with your printer port and replace "file.txt" with the name of the file. For most local printers, the printer port is "lpt1". - 3). Press "Enter." The file is sent directly to the printer indicated in the command.
Source...