Jump to content

Recommended Posts

Posted

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"

 

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...