Assign a Default Printer

Sets the default printer on a computer.

3 Star
Add to favorites
E-mail Twitter Digg Facebook
  • When used with Network printers
    2 Posts | Last post November 15, 2011
    • Just a note that if you are trying to set a network printer as the default use double \\ in the 'ScriptedPrinter' name. e.g. "\\SBRADMPS1\Follow Me Admin" becomes "\\\\SBRADMPS1\\Follow Me Admin".
      Also had trouble using a variable as a 'ScriptedPrinter' so ended up hard coding the name in. e.g. 'Adobe PDF' worked, variable strPrinter = "Adobe PDF" didn't. go figure.
      Cheers :-)
    • Thanks for the advice, Jim! Appreciated!