Get default printer name from command line?

前端 未结 7 1300
盖世英雄少女心
盖世英雄少女心 2020-12-31 08:02

Microsoft Windows XP comes with a VBS script to manage local and network printers from the command line:

To Get the default printer details from command line:

<
7条回答
  •  北海茫月
    2020-12-31 08:27

    To list active printer components on Windows 8.1:

    c:>cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -l | findstr "Printer name"

    enter image description here

提交回复
热议问题