boomam Posted February 5, 2008 Posted February 5, 2008 Hi. I cant find a solid answer on this: I apply printers here via GPOs. Problem is, that i cant work out how to set default printers. Is that possible with GPOs? Thanks in advance all. . 1
Athlona Posted February 5, 2008 Posted February 5, 2008 Hehe had this problem 2 weeks ago... Scripts I have hate Scripts LOL thats the answer I think by the way, startup and logg off scripts... Hope this helps:o
zag Posted February 5, 2008 Posted February 5, 2008 They are set by default alphabetically! Just change the name of the one you want to be default to "A - Main printer" or something like that. 1
mac_shinobi Posted February 5, 2008 Posted February 5, 2008 They are set by default alphabetically! Just change the name of the one you want to be default to "A - Main printer" or something like that. R2 does it alphabetically as far as I am aware ( could be wrong ), short of that you can use a script such as vbscript to set default printers. http://www.ss64.com/wsh/defaultprint.html
mac_shinobi Posted February 5, 2008 Posted February 5, 2008 Currently use the following in a vb script that is applied via GPO at login. Set objNetwork = CreateObject("Wscript.Network") objNetwork.SetDefaultPrinter "\\SERVERNAME\PRINTERNAME" SYSMAN_MK strikes again ! lol
dan400007 Posted February 5, 2008 Posted February 5, 2008 I've got a script that runs on the whole domain to set the printers in school. Checks agains an XML file to determine which printers to install depending on the OU. Also determines which printer is to be the default. Unless that is the computer is in the Admin Computers OU, then the script will set the default printer to the local printer (either USB or LPT). Stops problems with FMS having a fit. Can post the script if wanted.
apearce Posted February 5, 2008 Posted February 5, 2008 I use con2prt http://support.microsoft.com/kb/181663 The script runs when they log on from the netlogon folder on the DC. You set a environment variable in your system properties with LOCATION as the variable and then a name for the printer (OFFICE in the example below) so when the script runs it adds the printer you want. You add the same line but tell it to add a different printer. The last one added is your default. Here an example from my bat file IF %LOCATION% ==OFFICE \\server\APPLIC\CON2PRT\CON2PRT /CD \\server\printer1 IF %LOCATION% ==OFFICE \\server\APPLIC\CON2PRT\CON2PRT /CD \\server\printer2
boomam Posted February 5, 2008 Author Posted February 5, 2008 (edited) Im not too keen on the scripting route. There were problems with the scripting used by the old techies here, the only consistant way to get the printers to allocate was to do them with ppc in GP, which i setup. Is the only way i can do default printers with scripting then? Edited February 5, 2008 by boomam
gshaw Posted February 5, 2008 Posted February 5, 2008 (edited) I couldn't believe MS missed out the default printer section with the AD Deployed Printers, in the end went back to scripts! Made a nice one now that can sit on the top of the OU, map by Computer OU then also checks to see if you're in a Security Group for Colour Printing, if so it maps the colour one as well. Can upload if anyone's interested. Edited February 5, 2008 by gshaw
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now