USB WritePort Does Not Set dwDataCompleted to 0 When Allocating New Buffer If Data Size Is Variable

This article was previously published under Q272493
This article has been archived. It is offered "as is" and will no longer be updated.
When you attempt to print to some Hewlett-Packard Universal Serial Bus (USB) printers, some of the data sent to the printer may be lost.
If the WritePort buffer size is larger than the buffer that was used on the previous call, the first buffer is freed and a new one is allocated. However, dwDataCompleted does not get reset to 0. This could cause data loss to the printer port.
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 theMicrosoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 2.

Article ID: 272493 - Last Review: 10/21/2013 01:00:17 - Revision: 3.2

Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition

  • kbnosurvey kbarchive kbbug kbfix kbwin2000presp2fix KB272493
ERROR: at System.Diagnostics.Process.Kill() at Microsoft.Support.SEOInfrastructureService.PhantomJS.PhantomJSRunner.WaitForExit(Process process, Int32 waitTime, StringBuilder dataBuilder, Boolean isTotalProcessTimeout)