Get default printer name from command line?

前端 未结 7 1307
盖世英雄少女心
盖世英雄少女心 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:19

    To remove printer in Windows 8.1:

    cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -d -p "Printer name"
    

    I had trouble with a printer not showing in devices/printers so unable to remove it, although it was there when I pressed file > print in firefox. It was also stopping me from using the printer name for the actual installation (it bugged me having to append _1 at the end of the default printer!"

提交回复
热议问题