Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sharing printers within DOS

Status
Not open for further replies.

NJcow

Technical User
Apr 9, 2002
72
Any suggestions to setting up shared printer for DOS applications, seems it doesn't want to 'share' a printer. I dont have much info as its second-hand, so I wont be surprised if I get no response. Thanks in advance.
 
I don't have a solution for you. One work-around echwould to be to output to a file, and then use the START command to run a Windows application to print the file.

Best,

Harry
 
Dos prints to an lpt port
Try
net use \\machine name\printer share
at work I put this in the user's login script
 
At our office we have a batch file for each printer on the network.
ex:
net use lpt1: \\anthony\hp4050bs

When you want to switch to another printer, we have a batch file that we named clear.bat (to clear the previous net use statement) which is:
net use lpt1: /delete

Now we are ready to choose our next printer batch file to use. ex:
net use lpt1: \\anthony\hp5000bs

Just set up the batch files and you should be good to go!

Hope this helps. Eddie Martin
Network Support Technician
eddie@digitechcomputer.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top