Create and configure printer port (Registry File)

This code can be found in Chapter 8 of Windows Server 2003 Networking Recipes

Purchase XP Cookbook or Networking Recipes for only $25 plus shipping! While supplies last.

Find out how to download all of the Registry File code from this site.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\<YourNewPrinterPortName>]
"IPAddress"="<YourPortIPAddress>"
"Protocol"=dword:<PortValue>
"SNMP Community"="<YourSNMPCommunityName>"
"SNMP Enabled"=dword:<EnabledFlag>
"SNMP Index"=dword:<YourSNMPIndex>
"Queue"="<QueueName>"
"PortNumber"=dword:<YourPortNumber>
"Double Spool"=dword:<DoubleSpoolEnabledFlag>

This code has been viewed 4158 times.

New from the creators of TechTasks.com: StatSheet.com