一般来说,安装基于TCP/IP端口的打印机都需要经过两个步骤,第一步是添加TCP/IP端口,第二步是安装打印机驱动程序.
既然要实现无需人工参与批量部署,就肯定离不开脚本或者命令行.好在这些WINDOWS都给予了完美的支持,下面即刻转入正题.
1、添加TCP/IP端口
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports]
“StatusUpdateInterval”=dword:0000000a
“StatusUpdateEnabled”=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\IP_10.10.10.1]
“Protocol”=dword:00000001
“Version”=dword:00000001
“HostName”=””
“IPAddress”=”10.10.10.1”
“HWAddress”=””
“PortNumber”=dword:00