Jump to content

Recommended Posts

Posted

Hi everyone,

 

Can anyone give me a good solution for a default network printer? We have a vanilla network running Server 2003 Standard with XP Pro SP3 with Ranger v5. Do I have to get another server running 2003 R2 or is it possible to do with the Script.? Please advise me in detail.

 

Thanks in advanced.

Posted

Surprised no-one else has got back to you on this one yet.

 

Anyway, a vbs logon script will do the trick fine. Most of my 2003 schools have a logon script that sets up the printers and names a default based on the group a machine is in (e.g. the Office group get a different default printer to the others, and the machines the kids use don't get the colour printer at all); then a logoff script cleans up.

 

Someone else's name is writ large on the scripts, so I wouldn't feel right about posting one, but search the site (or Google) for examples.

Posted

Example of vbs script to add printer as default

 

Set WshNetwork = CreateObject("WScript.Network")

 

WshNetwork.AddWindowsPrinterConnection "\\server\printername"

 

Set objPrinter = CreateObject("WScript.Network")

 

objPrinter.SetDefaultPrinter "\\server\printer"

 

 

 

 

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...