Hi all,
I am trying to write a batch file that will connect to a network printer. The problem is that the user account that we are using is a local account, not a domain account. Therefore when the batch file runs, XP will display the dialog box for the user to enter their domain username and password to connect to the resource, this is fine. We have it set up this way because we are using a special scientific app. I have come up with this:
RUNDLL32 PRINTUI.DLL,PrintUIEntry /in /n\\printserver\printer
But this command does not seem to be consistent. Anyone know of a better way? Thanks.
I am trying to write a batch file that will connect to a network printer. The problem is that the user account that we are using is a local account, not a domain account. Therefore when the batch file runs, XP will display the dialog box for the user to enter their domain username and password to connect to the resource, this is fine. We have it set up this way because we are using a special scientific app. I have come up with this:
RUNDLL32 PRINTUI.DLL,PrintUIEntry /in /n\\printserver\printer
But this command does not seem to be consistent. Anyone know of a better way? Thanks.