Discussion Locked

printers and LPT ports

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have an accounting application that requires I map my LPT ports to certain printers.
THe problem I'm having is that even if I use
net use lpt1: \\server\printer /persistent: yes
some machines consistently lose thier assigned ports.
I'm using 2000 machine and a 200 server.
Has anyonelse had this problem ?

7 replies

by cactus pete

You should check the machines, or probably users on those machines, for login or startup scripts that are also mapping the resource.

by mike jones

why don't you run a batch file to do the following,

1. Clear the connections to LTP
2. Remap the connection
3. Start the program

Eg:

NET USE LPT1 /DELETE
NET USE LPT1 \\server\printer
START accounting-application

And use this insteadof a direct shortcut to the application.

This will ensure that the printer is mapped.

by natcat

I'm currently deleting the port and recreating it in the script. And I'd rather not start the program at startup.

by wburrows

I am assuming that when you mention machines losing the assigned ports that more than one user is logging into the machine. Printers are user based settings and won't persist between users. You would need to create a login script so each user mapsthis printer. If this is not the case you need to better define the circumstances around the problem. Good luck!

This discussion is closed to new replies.