spacer
The University of Tennessee at Martin

The University of Tennessee - Martin

Search The University of Tennessee at Martin:

Main Navigation:

Drivers

spacer



 

University of Tennessee at Martin Martin, TN 38238

Toll Free 1.800.829.UTM1
Local 731.881.7000

 

 

 

DOS printing

 

If you're running an MS-DOS program in Windows XP, you may be wondering how to print. DOS programs usually print directly to LPT 1 or LPT 2. This is fine if you have a local printer attached, but what if you want to use a network printer that's attached to a different computer? You need to map an LPT port to the shared network printer.

 

 

 

 

The procedure

 

  1. Click Start and select Run
  2. Type cmd to open a command prompt window
  3. Click OK
  4. Then type: net use lpt[port number]\\[print server name]\[printer share name]/persistent:yes
  5. Press Enter
  6. Type exit to get out of the command window

 

In the example, for port number, put in the number of the printer port that you want to map (for example, lpt1 or lpt2, with no space between "lpt" and the number). For printer server name, put in the name of the computer to which the network printer is attached. For printer share name, put in the name by which the printer is shared on the network.