Default printer in startup script

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I currently have a printer using the following command via a batch file

RUNDLL32 PRINTUI.DLL,PrintUIEntry:

I have no problems assigning the startup script for adding printers,
however, I am not able to assing a default printer, I am using the following
command to do so:

RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n "Printer Name"

Upon startup I receive an error concerning this entry in the batch file, am
I doing something wrong here?

Thanks,
Vince
 
Hello,

I currently have a printer using the following command via a batch file

RUNDLL32 PRINTUI.DLL,PrintUIEntry:

I have no problems assigning the startup script for adding printers,
however, I am not able to assing a default printer, I am using the following
command to do so:

RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n "Printer Name"

Upon startup I receive an error concerning this entry in the batch file, am
I doing something wrong here?

Thanks,
Vince

Yes. You assign a default printer per user, so it is not done in a startup script.
It can be done in a logon script, or directly in the registry, like tip 672 in the 'Tips & Tricks' at http://www.jsifaq.com
 
Back
Top