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!

I can't get this thing to print

Status
Not open for further replies.

mrblonde

Technical User
Mar 16, 2001
187
US
My company bought a program that is in DOS. It runs over our network. The program asks for printer that are LPT1, LPT2, LTP3, etc...How do I get WinNT 4.0 SP6 to associate a networked printer as LPT2 or LPT3? I've heard something about capturing a printer port or something to that effect. Anyone...Anyone...? Bueller...Bueller...?

Thanks all!
Mat
 
I have written a batch file that looks something like this...

ECHO THIS WILL MAP YOUR LPT1 PORT TO HP5
NET USE LPT1: /DEL
NET USE /PERSISTENT:YES
NET USE LPT1: \\PRINTSERV\HP5
pause PRINTER MAPPED

You can run this batch file once and your lpt port will be mapped or you can add it to your login script.
 
When I type in the command net use lpt2 \\server\printer I get a network path error.
 
If you can type \\server\printername at the Start, Run prompt and the print queue comes up, the Net Use command should work. If not, you have a different problem with connectivity to that printer. Type NET USE /? at a dos prompt to ensure your syntax as well
 
Yeah I'm having real problems getting this thing going. The program resides on the server. I can get any user to print off of the servers printer. However trying to map to a diffrent PC's printer won't work for me. I'm not sure what I'm doing wrong. Another question. We have one printer with it's own IP. Is there a way to map to that in dos? I tried net use lpt3: 10.5.2.1 and I got an invalid syntax.

Thanks...
 
Let's go back to basics...

1. Have you created a queue for the printer on the server?
2. Is the queue shared?
3. Have you shared printer drivers for the relevent operating system of the client machines?
4. Are you able to connect to the printer queue/share by using 'add printer'/'network printer server'?

As for your second question, you can't just connect straight to the printer IP address like that - you have to have a queue name somewhere...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top