You experience slow printing performance when you print to certain LPR printers on a computer that is running Windows Vista, Windows Server 2003, or Windows XP

You experience slow printing performance when you print to certain LPR printers on a computer that is running Windows Vista, Windows Server 2003, or Windows XP

Article ID : 950326
Last Review : March 27, 2008
Revision : 1.0

SYMPTOMS

Consider the following scenario:

• You are using a computer that is running Windows Vista, Windows Server 2003, or Windows XP.
• You try to print to a Line Printer Remote (LPR) printer by using LPR port monitor software or TCP/IP port monitor software.

In this scenario, you experience slow printing performance.

Back to the top

CAUSE

This problem occurs because some printers use delayed acknowledgement (ACK) algorithms to decrease TCP overhead. A delayed ACK of up to 200 milliseconds may occur if a printer that uses these algorithms receives an odd number of packets from a computer that sends print jobs to the printer. During this 200-millisecond delay, the computer waits to send additional data to the printer. These 200-millisecond delays accumulate over time, and they eventually cause a significant reduction in the overall transfer speed of the print job.

Back to the top

WORKAROUND

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 (/Feedback.aspx?kbNumber=322756/) How to back up and restore the registry in Windows

To work around this problem, increase the size of the default Winsock send buffer, and then use the LPR port monitor to send the print job. To increase the size of the buffer, follow these steps.

1. Click Start, click Run, type regedit, and then click OK.
2. Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services AFD Parameters
3. On the Edit menu, point to New, and then click DWORD Value.
4. Type DefaultSendWindow, and then press ENTER.
5. In the details pane, double-click DefaultSendWindow.
6. Click Decimal, type 64512 in the Value data box, and then click OK.
7. Exit Registry Editor.

Back to the top

MORE INFORMATION

For more information about the DefaultSendWindow registry value, visit the following Microsoft TechNet Web site:

http://technet2.microsoft.com/WindowsServer/en/library/94d21089-411b-4bce-a823-49a77a46e7661033.mspx?mfr=true (http://technet2.microsoft.com/WindowsServer/en/library/94d21089-411b-4bce-a823-49a77a46e7661033.mspx?mfr=true)

For more information about a similar behavior in Winsock applications, click the following article number to view the article in the Microsoft Knowledge Base:

823764 (/Feedback.aspx?kbNumber=823764/) Slow performance occurs when you copy data to a TCP server by using a Windows Sockets API program

Back to the top


APPLIES TO
• Windows Vista Enterprise 64-bit Edition
• Windows Vista Home Basic 64-bit Edition
• Windows Vista Home Premium 64-bit Edition
• Windows Vista Ultimate 64-bit Edition
• Windows Vista Business
• Windows Vista Business 64-bit Edition
• Windows Vista Enterprise
• Windows Vista Home Basic
• Windows Vista Home Premium
• Windows Vista Starter
• Windows Vista Ultimate
• Microsoft Windows XP Home Edition
• Microsoft Windows XP Professional
• Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
• Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
• Microsoft Windows Server 2003, Datacenter x64 Edition
• Microsoft Windows Server 2003, Enterprise x64 Edition
• Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
• Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
• Microsoft Windows Server 2003, Standard x64 Edition
• Microsoft Windows Server 2003, Standard Edition (32-bit x86)

Back to the top

Keywords: 
kbtshoot kbexpertiseinter kbprb KB950326

Back to the top

 

Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image