dave.81 Posted April 23, 2008 Posted April 23, 2008 Just wondering how other people allocate printers to pc's, i know our way at present works but i'd love to make it more simple. Currently we place a VB script on the individual pc and depending on the location depends on which printer names are in it. On a seperate note anyone know the code to get the script to delete printers before adding new ones? Our current script is '// Name: setprint.vbs '// Description: Add a network printer and make it the default Set WshNetwork = CreateObject("WScript.Network") '// Adds the printer. Substitute your server name and printer share. WshNetwork.AddwindowsPrinterConnection "\\saturn\babbage" '// Makes the specified printer the default. WshNetwork.SetDefaultPrinter "\\saturn\babbage"
Diello Posted April 23, 2008 Posted April 23, 2008 Holy grail - Scripting Printer Addition Based on Location - EduGeek.net Wiki 1
dave.81 Posted April 23, 2008 Author Posted April 23, 2008 Everything i've ever wanted to know thanks
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