If you or your client is using an old-DOS based program to do work (for example, Wordperfect for DOS) – and you need to print to a printer which is shared on the network, you first need to map the printer to an LPT port. You do this by using the following command in a dos prompt (Start -> Run -> cmd):

net use lpt3 \\SERVER_NAME\PRINTER_NAME

You can then set up your dos program to print to lpt3 and it will be sent to that printer. To print right from the command line, you could use the following syntax:

copy c:\test.txt lpt3

2 comments
  1. i want to print a dos application from local dmp printer connected to lpt3 port of my computer.please help me.

  2. i want to print a dos application from local dmp printer connected to lpt3 port of my computer.please help me.

Comments are closed.

You May Also Like

Windows XP – Save Passwords Advanced User Dialog

Windows XP and Vista hides the advanced user dialog from the control…

Password Protected Folder Gives 404 Not Found in WordPress Installation Sub-folder.

Came across this little maddening issue again today after fixing it a…

Install CAB files directly to a Windows Mobile Device from your Desktop via ActiveSync

Downloading a CAB file to install onto your Windows Mobile device can…

Force HTTPS SSL Access for a URL with Apache

The situation is: you have an web application or URL that you…