How do you do....it? Thread, Printer Scripting in Technical; Just wondering how other people allocate printers to pc's, i know our way at present works but i'd love to ...
-
23rd April 2008, 12:40 PM #1 Printer Scripting
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"
-
-
IDG Tech News
-
23rd April 2008, 12:42 PM #2
-
Thanks to Diello from:
dave.81 (23rd April 2008)
-
23rd April 2008, 12:50 PM #3 Everything i've ever wanted to know thanks
-
SHARE:
Similar Threads
-
By ChrisH in forum Scripts
Replies: 20
Last Post: 27th March 2012, 11:39 AM
-
By FN-GM in forum Scripts
Replies: 26
Last Post: 10th August 2007, 10:31 PM
-
Replies: 4
Last Post: 25th October 2006, 08:38 PM
-
By Dos_Box in forum Scripts
Replies: 3
Last Post: 2nd September 2005, 09:07 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules