18 lines
683 B
Plaintext
18 lines
683 B
Plaintext
|
# 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
|