How to control lpt ports on the dosbox

Written by bonnie conrad
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to control lpt ports on the dosbox
DOS gives you a direct path to your printer. (Thomas Northcut/Photodisc/Getty Images)

DOS may be an old technology, but it still quite useful to computer professionals and ordinary computer owners. Some legacy programs still require the DOS interface, and DOS commands can be used for a number of troubleshooting and housekeeping functions. DOS commands can also be used to control LPT ports and send print jobs directly to the printers attached to those ports.

Skill level:

Other People Are Reading


  1. 1

    Log on to your computer and click "Start." Choose "Printers" and highlight the printer you want to use from DOS.

  2. 2

    Right-click the printer and choose "Properties." Go to the "Ports" tab and note the port number, LPT1, LPT2, or any other port that the printer is using.

  3. 3

    Close the printer window and click "Start." Choose "Run" from the menu and type "cmd" in the box to open the DOS window.

  4. 4

    Type "print/d portnumber: C:\filename," where portnumber is the LPT port number and file name is the name of the file you are printing. For instance, to print a file called Testfile from your C drive to the LPT1 port, you would type "print /d LPT1: C:\Testfile." Press enter to send the job to the printer.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.