
[已解決]bat文件怎樣自動安裝打印機第一用這個注冊表文件添加TCP/IP端口Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlPrintMonitorsStandard TCP/IP PortPorts]StatusUpdateInterval=dword:0000000aStatusUpdateEnabled=dword:00000001[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlPrintMonitorsStandard TCP/IP PortPortsIP_10.10.10.1]Protocol=dword:00000001Version=dword:00000001HostName=IPAddress=10.10.10.1HWAddress=PortNumber=dword:0000238cSNMP Community=publicSNMP Enabled=dword:00000001SNMP Index=dword:00000001第二, 用這條命令完成打印機的安裝 rundll32 printui.dll,PrintUIEntry /if /b HP Laserjet 4000 Series PCL /f %windir%infntprint.inf /r IP_10.10.10.1 /m HP Laserjet 4000 Series PCL /z用上面這兩個文件在試驗可以成功安裝打印機,現在遇到的問題是,如果自定義了 驅動文件,把驅動文件位置由 %windir%infntprint.inf 改為 F:1237616V_ChineseGDI_win98_win2000_winXPS_ChineseWIN2K_XPG22.inf,就無法完成安裝,打印服務已經啟動,出現的提示有下面幾種,關于這一條提示說驅動不適合 這個windows 版本,如果用手動安裝打印機,指定這個驅動文件 是可以正常安裝使用的是不是我那咱設置錯誤造成的?請教

