+ Post New Thread
Results 1 to 3 of 3
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 ...
  1. #1

    Join Date
    Mar 2007
    Location
    Devon
    Posts
    1,042
    Thank Post
    226
    Thanked 63 Times in 56 Posts
    Rep Power
    29

    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"

  2. #2
    Diello's Avatar
    Join Date
    Jun 2005
    Location
    Kent, England
    Posts
    1,063
    Thank Post
    112
    Thanked 228 Times in 128 Posts
    Rep Power
    74

  3. Thanks to Diello from:

    dave.81 (23rd April 2008)

  4. #3

    Join Date
    Mar 2007
    Location
    Devon
    Posts
    1,042
    Thank Post
    226
    Thanked 63 Times in 56 Posts
    Rep Power
    29
    Everything i've ever wanted to know thanks

SHARE:
+ Post New Thread

Similar Threads

  1. Scripting Resources
    By ChrisH in forum Scripts
    Replies: 20
    Last Post: 27th March 2012, 11:39 AM
  2. New to scripting
    By FN-GM in forum Scripts
    Replies: 26
    Last Post: 10th August 2007, 10:31 PM
  3. ADMT and or Scripting ACL changes.
    By pete in forum Windows
    Replies: 4
    Last Post: 25th October 2006, 08:38 PM
  4. Scripting IP configuration.
    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
  •