Setting the Default printer Command Line

1 Open a command prompt.

2 Copy and paste the 

wmic printer get name,default

 command into the command prompt, and press Enter. Make note of the printer name (ex: “HP Color LaserJet Pro MFP M477 PCL 6”) you want to set as the default printer. (see screenshot below)

The currently set default printer will have TRUE showing in the Default column to the left of the printer name.

3 Type the command below into the command prompt, and press Enter.

For example: 

wmic printer where name="HP Color LaserJet Pro MFP M477 PCL 6" call setdefaultprinter

 

4 You can also type in the following command

cscript “C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs” -ac -t -p “\\10.0.1.11\Clives Office”

The -t sets the default printer.

https://ss64.com/nt/prnmngr.html

Comments are closed