Set up ClassroomColor printer driver
This commit is contained in:
parent
b8b7f08afb
commit
e28ec5c8f5
17
printers.sls
Normal file
17
printers.sls
Normal file
@ -0,0 +1,17 @@
|
||||
# install the driver inf
|
||||
"PNPUtil.exe /add-driver \\\\ucs\\software\\drivers\\dell\\c2660dn_PS\\DLPRFAL.inf /install":
|
||||
cmd.run:
|
||||
- shell: powershell
|
||||
- unless: Get-PrinterDriver -Name 'Dell C2660dn Color Laser PS'
|
||||
|
||||
# add the driver as a printer driver
|
||||
"Add-PrinterDriver -Name 'Dell C2660dn Color Laser PS'":
|
||||
cmd.run:
|
||||
- shell: powershell
|
||||
- unless: Get-PrinterDriver -Name 'Dell C2660dn Color Laser PS'
|
||||
|
||||
# add the printer
|
||||
"Add-Printer -Name ClassroomColor -PortName 'http://ucs.sawtooth.claremontmakerspace.org:631/printers/ClassroomColor' -DriverName 'Dell C2660dn Color Laser PS'":
|
||||
cmd.run:
|
||||
- shell: powershell
|
||||
- unless: Get-Printer -Name ClassroomColor
|
Loading…
Reference in New Issue
Block a user