Microsoft KB Archive/280344

= Large print jobs time out after 60 seconds in Windows Server 2003 and in Windows 2000 Server =

Article ID: 280344

Article Last Modified on 1/29/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows 2000 Service Pack 4
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q280344





Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
Large print jobs from some Line Printer Resource (LPR) clients may print as expected on a Microsoft Windows Server 2003-based or Windows 2000 Server-based computer that is running the Line Printer Daemon (LPD) service. Smaller print jobs may print correctly. You may be able to determine the maximum print job size that can be printed successfully in your client/server configuration. Other implementations of the LPR client software may not be affected.



CAUSE
The Windows LPD server uses a time-out value to stop the LPD server from waiting indefinitely for hung or invalid print jobs. By default, this value is set to 60 seconds. Some LPR client implementations send the Receive Job command and then start creating a data file that is sent when it is ready. With a large print job, the delay can become long enough to invoke the time-out condition. When this condition occurs, the LPD server responds with a negative acknowledgement and cancels the job.



RESOLUTION
To resolve this problem, configure a larger time-out value by using Registry Editor. To do this, follow the steps in the &quot;Configure the time-out value&quot; section later in this article.

Note If you are using a Windows 2000 Server-based computer, you must first enable the required registry parameter before you can configure the time-out value. To do this, follow the directions in the &quot;Windows 2000&quot; section to install the hotfix for Windows 2000 Service Pack 1 (SP1) or to install the latest Windows 2000 service pack.

Service pack information
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

After you install the latest service pack for Windows 2000, a registry parameter is enabled so that you can configure the time-out value. To do this, follow the steps in the &quot;Configure the time-out value&quot; section later in this article.

Hotfix information for Windows 2000 Service Pack 1 and Service Pack 2
Note Only install this hotfix if you are running a Windows 2000 SP1-based or Windows 2000 SP2-based computer.

Restart requirement
After you install this hotfix, you must restart your computer. If you manually install this hotfix, to restart the computer click OK on the hotfix message window or close the hotfix message window. To suppress the hotfix installation restart, specify the &quot;-Z&quot; parameter when you install the hotfix.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version            Size    File name --  04-Jan-2001  22:33  5.0.2195.3106      21,776  Lpdsvc.dll WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

After you install this hotfix, a registry parameter is enabled so that you can configure the time-out value. To do this, follow the steps in the &quot;Configure the time-out value&quot; section later in this article.

Configure the time-out value
You can configure the following registry parameter for a Microsoft Windows Server 2003-based computer and for a Microsoft Windows 2000 Server SP3 or later-based computer.  Click Start, click Run, type regedit, and then click OK. Locate and then click the following key in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LPDSVC\Parameters

 On the Edit menu, click Add Value, and then add the following registry value:

Value name: RecvTimeout

Data type: REG_DWORD

Data value: 1-1200 (seconds)

 Quit Registry Editor.</ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Windows 2000 Service Pack 3.

<div class="moreinformation_section">

MORE INFORMATION
For additional information about Windows 2000 hotfixes and the '-Z' parameter, click the following article number to view the article in the Microsoft Knowledge Base:

262841 Command-line switches for Windows software update packages

For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the following article number to view the article in the Microsoft Knowledge Base:

265173 The Datacenter program and Windows 2000 Datacenter Server product

For additional information about how to install multiple hotfixes with only one reboot, click the following article number to view the article in the Microsoft Knowledge Base:

296861 How to install multiple Windows updates or hotfixes with only one reboot

For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the following article number to view the article in the Microsoft Knowledge Base:

249149 Installing Microsoft Windows 2000 and Windows 2000 hotfixes

Additional query words: kbNetworking

Keywords: kbbug kbfix kbwin2000presp3fix kbqfe kbwin2000sp3fix kbnetwork kbhotfixserver KB280344

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.