A 32-bit program may not print colors correctly when it is running on a 64-bit version of Windows Server 2003 or on a 64-bit version of Windows XP (919332)



The information in this article applies to:

  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Datacenter Edition for Itanium-based Systems
  • Microsoft Windows XP Professional x64 Edition
  • Microsoft Windows XP Professional 64-Bit Edition (Itanium)

SYMPTOMS

A 32-bit program may not print colors correctly when you print a file on a computer that is running a 64-bit version of Microsoft Windows Server 2003 or a 64-bit version of Microsoft Windows XP.

CAUSE

This problem occurs because one of the internal structures of the Graphics Device Interface (GDI) is incompatible with 32-bit programs that run on 64-bit versions of Windows.

The printer driver's DrvQueryColorProfile function receives invalid parameters. Therefore, the printer driver cannot select an ICC profile.

RESOLUTION

Hotfix information

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 Server 2003 service pack or Windows XP service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone 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 usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

No prerequisites are required.

Restart requirement

You must restart your computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.Windows Server 2003, x64-based versions, and Windows XP Professional x64 Edition
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Gdi32.dll5.2.3790.2703610,30416-May-200603:03x64SP1SP1QFE
Wgdi32.dll5.2.3790.2703285,18416-May-200603:03x86SP1WOW
Windows Server 2003, Itanium-based versions, and Windows XP Professional 64-Bit Edition (Itanium)
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Gdi32.dll5.2.3790.2703907,77616-May-200603:05IA-64SP1SP1QFE
Wgdi32.dll5.2.3790.2703285,18416-May-200603:05x86SP1WOW

STATUS

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

MORE INFORMATION

To confirm that you are experiencing this problem, follow these steps.

Note The following steps are for experienced users and for printer driver developers.
  1. Click Start, click Control Panel, and then double-click Printers and Faxes.
  2. Right-click the printer, and then click Properties.
  3. On the Color Management tab, click Automatic.
  4. On the General tab, click Printing Preferences, and then click Advanced.
  5. Expand Color Control.
  6. In the Color Matching list, click ICM on System, and then click OK.
  7. Click OK two times.
  8. Start Internet Explorer.
  9. Start the WinDbg.exe tool.
  10. Click File, click Attach to a Process, and then click Iexplorer.exe.
  11. Click File, click Attach to a Process, and then click Slpwow64.exe.
  12. In the bottom pane, type dt GDI32!QUERYCOLORPROFILEINPUT.
  13. Type bp unidrvui!DrvQueryColorProfile to set a breakpoint at unidrvui!DrvQueryColorProfile.
  14. In Internet Explorer, click File, and then click Print Preview.

    The debugger tool will break at unidrvui!DrvQueryColorProfile.
  15. Verify the parameters of unidrvui!DrvQueryColorProfile.
You may find the parameters are incorrect. For example, the pvProfileData parameter may be NULL.

For more information about the WinDbg.exe tool, visit the following Microsoft Web site:For more information about the terms that are used in this article, 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


Modification Type:MinorLast Reviewed:7/26/2006
Keywords:kbBug kbfix kbQFE kbhotfixserver kbpubtypekc KB919332 kbAudITPRO