/build/static/layout/Breadcrumb_cap_w.png
01/19/2019 321 views

Has anyone used kace or any commandline tools to deploy printers via windows spoolsss?

0 Comments   [ + ] Show comments

Comments


All Answers

0

you can use a VB script:

' Variables must be declared
Option Explicit
' Suppress errors
on error resume next
' Declare Variables
Dim objPrinter, printerPath
' Path to printer (Add your information below)
printerPath = "\\dr-acad\red-204"
Set objPrinter = CreateObject("WScript.Network")
' Add printer
objPrinter.AddWindowsPrinterConnection printerPath
' Add as default
objPrinter.SetDefaultPrinter printerPath
wscript.sleep 200
' Path to printer (Add your information below)
printerPath = "\\dr-acad\red-204-single-sided"
Set objPrinter = CreateObject("WScript.Network")
' Add printer
objPrinter.AddWindowsPrinterConnection printerPath
wscript.sleep 200
WScript.Quit
Answered 01/22/2019 by: SMal.tmcc
Red Belt

  • Thank you. Can this be used for Mac OSX?