先将以下代码保存成为Add_Printer_Port.reg文件,用于创建网络打印机使用的标准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.xx.xx.xx ]
" Protocol " = dword: 00000001
" Version " = dword: 00000001
" HostName <
[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.xx.xx.xx ]
" Protocol " = dword: 00000001
" Version " = dword: 00000001
" HostName <