en-US/about_SpecPrinters.help.txt
TOPIC
about_SpecPrinters SHORT DESCRIPTION Printer management on the local device LONG DESCRIPTION This module contains all of the functions required for managing printers on the local device. EXAMPLES To retrieve the return codes from the functions within your scripts, you can utilise the following code: $result = Add-SpecPrinter -printerName "Printer1" -printerPort "LPT1" -printDriverName "HP Universal Driver" Switch (result) { $true { Write-Host "Printer added successfully" } 610 {"Unable to add the driver to the store} 611 {"Unable to add the printer port} 612 {"Unable to add the driver} 613 {"Unable to add the printer to the system} } KEYWORDS printer, printers SEE ALSO NA |