We've got a dos based program that we use to print reports from. The program prints to LPT1 and we've got an XP machine that we are using as a print server. The same XP machine is also used by our shipping/receiving clerk. She is a member of our domain and has to login in each morning with her username angela, password:*****.
When I use the net use command in dos to capture the printer port, it prompts me for a username and password. Here, I have to enter username: angela and password:***** to be able to capture the printer port.
I'm using the /persistent:yes command which tells dos to keep this mapping even after rebooting which it does, but it's not keeping the username and password entries.
Is there another way to capture the printer port without having to enter a username and password or does anyone know how to write a batch file that I can run at startup to capture the printer port and enter the username and password automatically?
Thanks in advance for any help!!!