Printing may pause after every 11 print jobs when you are printing through a line printer remote (LPR) port. When this occurs, the following events are logged in the System log on the server:
Windows Server 2003 Print Server
Event Type: Warning
Event Source: LPR Print Monitor
Event ID: 2004
Description: Printer <Printername> on host <Host IP/Name> is rejecting our request. Will retry until it accepts the request or the job is cancelled by the user.
Windows Server 2008 Print Server
Log Name: System
Event ID: 4227
Task Category: None
Description: TCP/IP failed to establish an outgoing connection because the selected local endpoint was recently used to connect to the same remote endpoint. This error typically occurs when outgoing connections are opened and closed at a high rate, causing all available local ports to be used and forcing TCP/IP to reuse a local port for an outgoing connection. To minimize the risk of data corruption, the TCP/IP standard requires a minimum time period to elapse between successive connections from a given local endpoint to a given remote endpoint.
LPR ports use the default LPR RFC source and destination ports (TCP:721-731, TCP:515). This makes a total of 11 ports. After these 11 ports are used up, printing will pause until the ports time out and again become available.
We recommend that you use standard TCP\IP ports instead of LPR ports. If you must use LPR ports, you can still use TCP\IP ports. However, you should set them to LPR mode. The following articles describe standard TCP\IP ports in more detail.
To work around the 11 port RFC default for LPR ports, follow these steps:
1. Set the following registry key (REG_DWORD):
Value name: UseNonRFCSourcePorts
Value Data: 1
Value Type: Binary
0 = uses ports 721-731 (default)
1 = uses any dynamic port
2. Restart the Spooler Service to enable the feature.
By default, the key is not present. This limits the number of LPR ports to 11. Setting the registry value to 1 will make the LPD use any port whose number is greater than 1024 to transmit the jobs.
Article ID: 2003449 - Last Review: Nov 5, 2015 - Revision: 1