Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default printer setup

Status
Not open for further replies.

jamccor

MIS
Apr 4, 2003
117
US
I am using XP Pro for client stations where I work and we have 2000 server.We have over 300 clients using xp.The problem is,no matter what I try, I cannot get a default printer to stay the same no matter who logs onto it.It always defaults to either Microsoft Image Writer or Adobe PDF.Any clues??
 
Do you mean local user? Ive tried this and it doesnt work.Is this an issue with XP through a domain?
 
the script is done on the domain
the default user profile is the profile windows uses to create all other profiles. this profile contains default data for anything created as the user whom default is copied from.

Ever create a new profile and have to run throught the office setup screens again? it is because the default profile never went through those screens.

So install the printer, then sign on as a privilaged user and right click on my computer, properties, advanced, user profiles settings, and select the user whom you created the printer in, click copy to, copy to default user. (defaul;t user is hidden, you must allow viewing hidden files and folders) annd then allow everyone to use this.


sorry about the typos but working and helping doesn't allow for spell check
 
Ok..stupid question here.How do I find the default profile? The only ones I see are administrator and guest.Im not a complete dummy,but I want to get this right!
 
It is an issue with Netware clients, Zen, and older Novell Windows client software. I have not seen it in pure Windows.

But in any case, there are ways to do this in the logon script to ensure it is set each time correctly.

1. Script it:

Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddwindowsPrinterConnection "\\Print_Server\Printer"
\\Print_Server = Change as appropriate
\printer = the printer sharename to become the default
WshNetwork.SetDefaultPrinter "\\Print_Server\Printer"

********* end of script
\\Print_Server = Change as appropriate to the sharing server
\printer = the printer sharename to become the default

Copy/paste the above in notepad, make the name changes, and save as default_printer.vbs. In the logon script reference: cscript default_printer.vbs

2. You can use PrintUI:

rundll32 printui.dll,PrintUIEntry /in /n \\Printer_server\Printer
rundll32 printui.dll,PrintUIEntry /in /n \\server\Printer /y

****************
Add the lines directly into the logon script, changing Printer_Server and Printer names as appropriate. The "/y" parameter specifies the default printer.

3. For all users of a machine (good on stand-alone machines):

PrintUI works great on multi-user stand alone workstations as well. See Bruce Sanderson, MVP's site:
 
go to documents and settings
tools
folder options
view hidden files and folders
 
hey b, scripts will not work if you dont use the same printer on all the computers in the OU. you would have to write a case script and they suck,or create an OU and a script for each printer-machine group
 
Not necessarily. Here is an implementation using logon scripts and PrintUI.dll where users select the printer at startup: thread779-581142
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top