You cannot print text in a terminal server session in Windows Server 2003, in Windows Server 2008, or in Windows Vista if the printer uses the "Generic / Text Only" driver

Article translations Article translations
Article ID: 981650 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario:
  • You have a computer that is running Windows Server 2003, Windows Server 2008, or Windows Vista.
  • You install a printer that uses the Generic / Text Only driver.
  • You run an application that uses the Graphics::DrawString method in a terminal server session.
  • You use this application to try to print text to the printer. 
In this scenario, no text is printed.

Note This issue occurs in only a terminal server session. This issue does not occur when you run the application in a console session

CAUSE

This issue occurs because the ExtTextOut function is called incorrectly.

When text is printed by using the Graphics::DrawString method in a terminal server session, the ExtTextOut function is called incorrectly if the ETO_GLYPH_INDEX option is enabled. Therefore, the text is incorrectly sent to the printer directly without first being rendered.

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 the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

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, contact 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 Web site:
http://support.microsoft.com/contactus/?ws=support
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 one of the following operating systems:
  • Windows Server 2003 Service Pack 2 (SP2)
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008 Service Pack 2 (SP2)
For more information about how to obtain a Windows Server 2003 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
889100 How to obtain the latest service pack for Windows Server 2003
For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack
For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
968849 How to obtain the latest service pack for Windows Server 2008

Registry information

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

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English (United States) version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows Server 2003 file information notes
  • In addition to the files that are listed in these tables, this hotfix also installs an associated security catalog file (KB981650.cat) that is signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2003
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Gdiplus.dll5.2.6001.227291,748,99220-Jul-201015:45x86
Gdiplus.manNot Applicable39820-Jul-201015:47Not Applicable
Gdiplus.manNot Applicable60820-Jul-201015:48Not Applicable
For all supported x64-based versions of Windows Server 2003
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Gdiplus.dll5.2.6001.227292,192,38420-Jul-201013:36x64
Gdiplus.manNot Applicable40020-Jul-201013:36Not Applicable
Gdiplus.manNot Applicable61220-Jul-201013:36Not Applicable
Gdiplus.dll5.2.6001.227291,748,99220-Jul-201013:36x86
Gdiplus.manNot Applicable39820-Jul-201013:36Not Applicable
Gdiplus.manNot Applicable60820-Jul-201013:36Not Applicable
For all supported IA-64-based versions of Windows Server 2003
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Gdiplus.dll5.2.6001.227294,910,59220-Jul-201013:36IA-64
Gdiplus.manNot Applicable39920-Jul-201013:36Not Applicable
Gdiplus.manNot Applicable61020-Jul-201013:36Not Applicable
Gdiplus.dll5.2.6001.227291,748,99220-Jul-201013:36x86
Gdiplus.manNot Applicable39820-Jul-201013:36Not Applicable
Gdiplus.manNot Applicable60820-Jul-201013:36Not Applicable
Windows Vista and Windows Server 2008 file information notes
Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2008 and of Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Gdiplus.dll5.2.6001.227291,748,99215-Jul-201014:48x86
Gdiplus.dll5.2.6002.224471,748,99215-Jul-201016:05x86
For all supported x64-based versions of Windows Server 2008 and of Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Gdiplus.dll5.2.6001.227292,192,38415-Jul-201015:14x64
Gdiplus.dll5.2.6002.224472,192,89615-Jul-201016:18x64
Gdiplus.dll5.2.6001.227291,748,99215-Jul-201014:48x86
Gdiplus.dll5.2.6002.224471,748,99215-Jul-201016:05x86
For all supported IA-64-based versions of Windows Server 2008
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Gdiplus.dll5.2.6001.227294,910,59215-Jul-201014:44IA-64
Gdiplus.dll5.2.6002.224474,911,10415-Jul-201015:45IA-64
Gdiplus.dll5.2.6001.227291,748,99215-Jul-201014:48x86
Gdiplus.dll5.2.6002.224471,748,99215-Jul-201016:05x86

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 the Graphics::DrawString method, visit the following Microsoft Web site:
General information about the "Graphics::DrawString" method
For more information about the ExtTextOut function, visit the following Microsoft Web site:
General information about the "ExtTextOut" function
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 Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008
Collapse this tableExpand this table
File nameUpdate.mum
File versionNot Applicable
File size3,565
Date (UTC)16-Jul-2010
Time (UTC)07:56
PlatformNot Applicable
File nameX86_585be81f9380d48e24caf385facb1f3a_6595b64144ccf1df_1.0.6001.22729_none_3892b82a4f76ff65.manifest
File versionNot Applicable
File size627
Date (UTC)16-Jul-2010
Time (UTC)07:56
PlatformNot Applicable
File nameX86_abb699d97c16c05ec49ae97958d7ac6b_6595b64144ccf1df_1.0.6002.22447_none_eae08114420c2710.manifest
File versionNot Applicable
File size627
Date (UTC)16-Jul-2010
Time (UTC)07:56
PlatformNot Applicable
File nameX86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6001.22729_none_87a8ba4ee36c9536.manifest
File versionNot Applicable
File size4,160
Date (UTC)15-Jul-2010
Time (UTC)15:05
PlatformNot Applicable
File nameX86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6002.22447_none_8786e002e3bba79e.manifest
File versionNot Applicable
File size4,160
Date (UTC)15-Jul-2010
Time (UTC)17:45
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
Collapse this tableExpand this table
File nameAmd64_0802849d9f09d19d639e3b1d78ea32e7_6595b64144ccf1df_1.0.6002.22447_none_d2f45733d2832901.manifest
File versionNot Applicable
File size922
Date (UTC)16-Jul-2010
Time (UTC)07:56
PlatformNot Applicable
File nameAmd64_5e011b3e3f3e04fc49ce6cbe7294516f_6595b64144ccf1df_1.0.6001.22729_none_d88c22fc04345452.manifest
File versionNot Applicable
File size922
Date (UTC)16-Jul-2010
Time (UTC)07:56
PlatformNot Applicable
File nameAmd64_9abe6234c073c556b38e53ea3d745c9d_6595b64144ccf1df_1.0.6001.22729_none_d0333faddf89db80.manifest
File versionNot Applicable
File size631
Date (UTC)16-Jul-2010
Time (UTC)07:56
PlatformNot Applicable
File nameAmd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6001.22729_none_3ffb8377cef06c30.manifest
File versionNot Applicable
File size4,178
Date (UTC)15-Jul-2010
Time (UTC)15:33
PlatformNot Applicable
File nameAmd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6002.22447_none_3fd9a92bcf3f7e98.manifest
File versionNot Applicable
File size4,178
Date (UTC)15-Jul-2010
Time (UTC)18:13
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size3,593
Date (UTC)16-Jul-2010
Time (UTC)07:56
PlatformNot Applicable
File nameX86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6001.22729_none_87a8ba4ee36c9536.manifest
File versionNot Applicable
File size4,160
Date (UTC)15-Jul-2010
Time (UTC)15:05
PlatformNot Applicable
File nameX86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6002.22447_none_8786e002e3bba79e.manifest
File versionNot Applicable
File size4,160
Date (UTC)15-Jul-2010
Time (UTC)17:45
PlatformNot Applicable
Additional files for all supported IA-64-based versions of Windows Server 2008
Collapse this tableExpand this table
File nameIa64_44143bca46c43e4eb3d5aae7ab7d1f9a_6595b64144ccf1df_1.0.6001.22729_none_0601b3d22c3172b4.manifest
File versionNot Applicable
File size629
Date (UTC)16-Jul-2010
Time (UTC)07:56
PlatformNot Applicable
File nameIa64_942620524b3eadbe9f6a7c49c1191e37_6595b64144ccf1df_1.0.6001.22729_none_484071b6215f2aa0.manifest
File versionNot Applicable
File size920
Date (UTC)16-Jul-2010
Time (UTC)07:56
PlatformNot Applicable
File nameIa64_ed22ecc641822cfbd81b05880d5bc298_6595b64144ccf1df_1.0.6002.22447_none_a2a29daf93fcc6d8.manifest
File versionNot Applicable
File size920
Date (UTC)16-Jul-2010
Time (UTC)07:56
PlatformNot Applicable
File nameIa64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6001.22729_none_87a89810e36ccd1a.manifest
File versionNot Applicable
File size4,169
Date (UTC)15-Jul-2010
Time (UTC)14:59
PlatformNot Applicable
File nameIa64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6002.22447_none_8786bdc4e3bbdf82.manifest
File versionNot Applicable
File size4,169
Date (UTC)15-Jul-2010
Time (UTC)16:08
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size2,748
Date (UTC)16-Jul-2010
Time (UTC)07:56
PlatformNot Applicable
File nameX86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6001.22729_none_87a8ba4ee36c9536.manifest
File versionNot Applicable
File size4,160
Date (UTC)15-Jul-2010
Time (UTC)15:05
PlatformNot Applicable
File nameX86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6002.22447_none_8786e002e3bba79e.manifest
File versionNot Applicable
File size4,160
Date (UTC)15-Jul-2010
Time (UTC)17:45
PlatformNot Applicable

Properties

Article ID: 981650 - Last Review: August 12, 2010 - Revision: 2.0
APPLIES TO
  • 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 Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Windows Vista Home Basic
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Business
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise
  • Windows Vista Enterprise 64-bit Edition
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Server 2008 Standard
  • Windows Server 2008 Standard without Hyper-V
Keywords: 
kbexpertiseadvanced kbfix kbautohotfix kbsurveynew kbqfe KB981650

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