The Print Job Status Is Different with the AddJob() and ScheduleJob() Functions (316698)



The information in this article applies to:

  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional

This article was previously published under Q316698

SYMPTOMS

If you turn on the Keep printed documents option in your printer's properties, you can watch the print status to determine whether a print job is completed. If you print a document by using the StartDoc and EndDoc functions, the print status of completed jobs is "Printed." However, if you print a document by using the AddJob and SchduleJob functions, the status of completed jobs is "Sent to printer."

CAUSE

The "Sent to printer" status is new in Windows XP. However, Windows XP does not consider this status if you print jobs by using the AddJob and SchduleJob functions.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows XP service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:
   Date         Time   Version      Size     File name
   ------------------------------------------------------
   18-Feb-2002  10:07  5.1.2600.29  284,160  Localspl.dll
				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MinorLast Reviewed:10/11/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix kbQFE KB316698