General discussion

Locked

net use command

By mtrahern ·
I am having a problem with a network printer. A software package that is loaded on a Windows 2000 machine requires the network printer to be set up as a local printer, and to net use lpt1 to the network share. The statment that I am using is: net use lpt1 \\server\printer_q /persistent:yes. The printer will work for a day or so, and then quit. When I type in the net use statement, the lpt port does not show up. I then have to redo the net use command. Anyone know what I'm doing wrong?

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

net use command

by Joseph Moore In reply to net use command

Are you logging off, then back on the next day? If so, when you log in do you get a reconnect dialog box that is mapping LPT1 again? IF you get the box, let it map the port to the printer.
If you are not logging off, then try this from the Run box:
NET CONFIG SERVER /AUTODISCONNECT=-1

hope this helps

Collapse -

net use command

by Joseph Moore In reply to net use command

But yes, your NET USE syntax is correct:
NET USE LPT1 \\SERVER\PRINTER /PERSISTENT:YES

Collapse -

net use command

by mtrahern In reply to net use command

It's not my computer, its someone elses. I think the net use command is dissappearing when he reboots, but I need to verify with him first. I'll try the net config command and see what that does. I'm also thinking of making a .bat file that contains the net use command and putting it in his startup folder. Thanks for the input!

Collapse -

net use command

by mtrahern In reply to net use command

This question was closed by the author

Back to Windows Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums