Printers

Featuring many powershell and shortcuts to printer related support in Windows.

  • Printers,  Windows Tips

    How to add and remove a printer via Powershell in Windows

    Click on the Start button and type powershell. Right click on powershell and click run as administrator. To Add a printer (Local) Type Add-Printer -Name “PrinterName” -DriverName “HP LaserJet 2300” -Port USB001 To Add a printer (Network) Type Add-Printer -ConnectionName \\printServer\printerName To Remove a printer Type Remove-Printer -Name “PrinterName” To List printers Type Get-Printer | Format-List NameThis Powershell command is extremely helpful in situations where you can’t delete the printer via normal methods. This is a great link to MS with the command lines/syntax. Extra Info: I have written a couple of articles which explain how to: Set printing preferences via command line in Windows Set the default printer via…

  • Printers,  Windows Tips

    How to set printing preferences via command line in Windows

    1. Open command prompt “cmd” 2. Type RUNDLL32 PRINTUI.DLL,PrintUIEntry /e /n “\\server\printername” The /e opens the printer preferences /n is the name of the printer More info can be found here from Microsoft. Extra Info: I have written a couple of articles which explain how to: How to set the default printer via command line in Windows Speed up a printer install “device setup in progress” in Windows 10 How to add and remove a printer via Powershell in Windows

  • Printers,  Windows Tips

    How to set the default printer via command line in Windows

    Command Line 1. Click on the Start button and type cmd. Right click on Command Prompt and click run as administrator. 2. Type RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n “HP Officejet Pro 8610” The /y sets the printer as default /n is the name of the printer More info can be found here from Microsoft. Powershell 1. Click on the Start button and type powershell. Right click on powershell and click run as administrator. 2. Type: $wsObject = New-Object -COM WScript.Network $wsObject.SetDefaultPrinter(“Printer”) Change “Printer” to your printer name. This is just one of those tips I keep coming back to and forgetting the command line switches. It works on Win 7,8 and…

  • Printers,  Windows Tips

    Speed up a printer install “device setup in progress” in Windows 10

    When installing a new printer at work, I have had issues with the new printer not appearing in Control Panel – “Devices and Printers”. If the PC is behind a proxy server (Common in business/corp/edu) and does not have direct web access then it can take a few minutes for the printer to appear or may not appear at all. I discovered Windows is trying to download the correct icon for the particular printer. As of September and November 2019 Microsoft have had issues with the metadata server. This means Windows cannot contact the metadata server and download the correct icon, therefore the printer is stuck on “Device setup in…