Dusty Cables dot com

a tech blog

Printer names from command line

March 25th, 2014. Published under Uncategorized. No Comments.

In Windows Vista (I think), 7, and 8:

View default printer:
cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -g

View all printers:
cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -l

In Windows XP:

View default printer:
cscript C:\windows\system32\prnmngr.vbs -g

View all printers:
cscript C:\windows\system32\prnmngr.vbs -l

Good stuff.

Leave a Comment