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 translations Article translations
Article ID: 950326 - View products that this article applies to.
Expand all | Collapse all

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.

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.

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 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.

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
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 Slow performance occurs when you copy data to a TCP server by using a Windows Sockets API program

Properties

Article ID: 950326 - Last Review: March 27, 2008 - Revision: 1.0
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)
Keywords: 
kbtshoot kbexpertiseinter kbprb KB950326

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com