- @echo on
- rundll32 printui.dll,PrintUIEntry /if /b "Kyocera ECOSYS M4226idn KX" /f .\drive\OEMSETUP.inf /r "192.168.1.250" /m "Kyocera ECOSYS M4226idn KX"
- cscript c:\Windows\System32\Printing_Admin_Scripts\zh-CN\prnport.vbs -a -r ip_192.168.1.250 -h 192.168.1.250 -o raw
- cscript c:\Windows\System32\Printing_Admin_Scripts\zh-CN\prnmngr.vbs -a -p "SZOFFICE-306" -m "Kyocera ECOSYS M4226idn KX" -r ip_192.168.1.250
- pause
复制代码 每次运行的时候第一条命令都会报错 “操作无法完成,指定的端口未知”,谁能帮我看一下 |