"ERROR_SUCCESS" error shows when you cancel a print job on a Windows 8-based or Windows Server 2012-based computer

Applies to: Windows 8Windows 8 EnterpriseWindows 8 Pro

Symptoms


Assume that you have a computer that is running Windows 8 or Windows Server 2012. You start a print job and then cancel the job in the middle of the printing process. In this situation, the GetLastError function returns the following error message:
ERROR_SUCCESS
The expected error message resembles the following:
ERROR_PRINT_CANCELLED
Therefore, the printing software returns an error message.

Note The error message varies, depending on the different printing software installed.

Cause


This issue occurs because the last error message is reset to "ERROR_SUCCESS" in the EndPagePrinter function.

Resolution


Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows 8 or Windows Server 2012.

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.


Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information


For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows 8 and Windows Server 2012

Additional files for all supported x86-based versions of Windows 8
File nameX86_00082be964ca3ee094f5ead4dfcb91c9_31bf3856ad364e35_6.2.9200.20665_none_b9170c5ecb82bf5d.manifest
File versionNot applicable
File size711
Date (UTC)22-Mar-2013
Time (UTC)09:42
PlatformNot applicable
File nameX86_microsoft-windows-p..ting-spooler-client_31bf3856ad364e35_6.2.9200.20665_none_907942b9032110d4.manifest
File versionNot applicable
File size2,809
Date (UTC)22-Mar-2013
Time (UTC)01:05
PlatformNot applicable
Additional files for all supported x64-based versions of Windows 8 and of Windows Server 2012
File nameAmd64_00082be964ca3ee094f5ead4dfcb91c9_31bf3856ad364e35_6.2.9200.20665_none_1535a7e283e03093.manifest
File versionNot applicable
File size713
Date (UTC)22-Mar-2013
Time (UTC)09:42
PlatformNot applicable
File nameAmd64_6896fc2fcc74621bf47c74c2906bc2c6_31bf3856ad364e35_6.2.9200.20665_none_f6901aca92a626a2.manifest
File versionNot applicable
File size715
Date (UTC)22-Mar-2013
Time (UTC)09:42
PlatformNot applicable
File nameAmd64_ca22cff5929cf0d10b27492da9b9f855_31bf3856ad364e35_6.2.9200.20665_none_15cea8acd35ffb7a.manifest
File versionNot applicable
File size1,070
Date (UTC)22-Mar-2013
Time (UTC)09:42
PlatformNot applicable
File nameAmd64_microsoft-windows-p..ting-spooler-client_31bf3856ad364e35_6.2.9200.20665_none_ec97de3cbb7e820a.manifest
File versionNot applicable
File size2,813
Date (UTC)22-Mar-2013
Time (UTC)02:15
PlatformNot applicable
File nameX86_microsoft-windows-p..ting-spooler-client_31bf3856ad364e35_6.2.9200.20665_none_907942b9032110d4.manifest
File versionNot applicable
File size2,809
Date (UTC)22-Mar-2013
Time (UTC)01:05
PlatformNot applicable