Default printer in startup script

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
 
J

Jerold Schulman

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top