Many pages are printed when you try to print an Excel worksheet by using a redirected printer if the Terminal Services Easy Print feature is used

Applies To
Windows HPC Windows Server 2008 Standard Windows Server 2008 Standard without Hyper-V 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 Web Edition Windows Server 2008 for Itanium-Based Systems Windows Server 2008 Service Pack 2 Windows Server 2008 R2 Datacenter Windows Server 2008 R2 Enterprise Windows Server 2008 R2 for Itanium-Based Systems Windows Server 2008 R2 Standard

Symptoms

Consider the following scenario:

  • You have a terminal server that is running Windows Server 2008 or Windows Server 2008 R2.

  • A client computer makes a terminal server session to the terminal server. The client computer redirects a printer to the terminal server session by using the Terminal Service Easy Print feature.

  • You use the redirected printer to print a Microsoft Office Excel worksheet. The Width property and Height property of the worksheet are set to the 1 page value.

    Note You can find the drop-down lists for the Width property and for the Height property under the Page Layout tab.

In this scenario, the scaling of the printout is incorrect. Additionally, many pages that have only a single cell of the worksheet may be printed.

For more information about the Terminal Service Easy Print feature, see the More information section.

Cause

This issue occurs because the Terminal Service Easy Print driver passes the DM_SCALE flag to Excel incorrectly. This behavior causes Excel to rely on incorrect scaling information from the Terminal Service Easy Print driver. Therefore, the scale of the printout is incorrect.

Note The Terminal Service Easy Print driver does not support the DM_SCALE flag.

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 2008
  • Windows Server 2008 Service Pack 2 (SP2)
  • Windows Server 2008 R2

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 must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global 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 2008 file information notes

  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.

    Version Product SR_Level Service branch
    6.0.600
    1.
    22xxx
    Windows Server 2008 SP1 LDR
    6.0.600
    2.
    22xxx
    Windows Server 2008 SP2 LDR
  • Service Pack 1 is integrated into the release version of Windows Server 2008. Therefore, RTM milestone files apply only to Windows Vista. RTM milestone files have a 6.0.0000.xxxxxx version number.

  • 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" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintaining the state of the updated component. 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

File name File version File size Date Time Platform Service branch
Tsprint-datafile.dat Not applicable 389 01-Apr-2009 18:55 Not applicable X86_TSP
Tsprint-pipelineconfig.xml Not applicable 275 01-Apr-2009 18:55 Not applicable X86_TSP
Tsprint.inf Not applicable 4,700 08-Jan-2010 14:35 Not applicable X86_TSP
Tsprint.dll 6.0.6001.22600 164,352 08-Jan-2010 17:19 x86 X86_TSP
Tsprint-datafile.dat Not applicable 389 03-Apr-2009 20:45 Not applicable X86_TSP
Tsprint-pipelineconfig.xml Not applicable 275 03-Apr-2009 20:45 Not applicable X86_TSP
Tsprint.inf Not applicable 4,700 08-Jan-2010 14:32 Not applicable X86_TSP
Tsprint.dll 6.0.6002.22306 164,352 08-Jan-2010 17:03 x86 X86_TSP

For all supported x64-based versions of Windows Server 2008

File name File version File size Date Time Platform Service branch
Tsprint-datafile.dat Not applicable 389 01-Apr-2009 15:57 Not applicable AMD64_TSP
Tsprint-pipelineconfig.xml Not applicable 275 01-Apr-2009 15:57 Not applicable AMD64_TSP
Tsprint.inf Not applicable 4,700 08-Jan-2010 14:35 Not applicable AMD64_TSP
Tsprint.dll 6.0.6001.22600 166,912 08-Jan-2010 17:43 x64 AMD64_TSP
Tsprint-datafile.dat Not applicable 389 03-Apr-2009 20:41 Not applicable AMD64_TSP
Tsprint-pipelineconfig.xml Not applicable 275 03-Apr-2009 20:41 Not applicable AMD64_TSP
Tsprint.inf Not applicable 4,700 08-Jan-2010 14:31 Not applicable AMD64_TSP
Tsprint.dll 6.0.6002.22306 166,912 08-Jan-2010 17:17 x64 AMD64_TSP

For all supported IA-64-based versions of Windows Server 2008

File name File version File size Date Time Platform Service branch
Tsprint-datafile.dat Not applicable 389 01-Apr-2009 15:57 Not applicable AMD64_TSP
Tsprint-pipelineconfig.xml Not applicable 275 01-Apr-2009 15:57 Not applicable AMD64_TSP
Tsprint.inf Not applicable 4,700 08-Jan-2010 14:35 Not applicable AMD64_TSP
Tsprint.dll 6.0.6001.22600 166,912 08-Jan-2010 17:43 x64 AMD64_TSP
Tsprint-datafile.dat Not applicable 389 03-Apr-2009 20:41 Not applicable AMD64_TSP
Tsprint-pipelineconfig.xml Not applicable 275 03-Apr-2009 20:41 Not applicable AMD64_TSP
Tsprint.inf Not applicable 4,700 08-Jan-2010 14:31 Not applicable AMD64_TSP
Tsprint.dll 6.0.6002.22306 166,912 08-Jan-2010 17:17 x64 AMD64_TSP

Windows Server 2008 R2 file information notes

Important Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Server 2008 R2" 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 R2" section. MUM 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 x64-based versions of Windows Server 2008 R2

File name File version File size Date Time Platform
Tsprint-datafile.dat Not Applicable 389 10-Jun-2009 20:38 Not Applicable
Tsprint-pipelineconfig.xml Not Applicable 275 10-Jun-2009 20:38 Not Applicable
Tsprint.dll 6.1.7600.20756 149,504 16-Jul-2010 10:50 x64

Workaround

To work around this issue, use one of the following methods:

  • Do not use the Terminal Services Easy Print redirection feature. You can install a required printer driver on the terminal server, and then print an Excel worksheet by using that printer.

  • Use a Windows XPS Document Writer printer or a PDF printer to print the Excel worksheet to a file. Then, open and print this file.

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 Terminal Services Easy Print feature, visit the following Microsoft Web site:

Information about the Terminal Service printing 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 Server 2008

Additional files for all supported x86-based versions of Windows Server 2008

File name File version File size Date Time Platform
Update.mum Not applicable 1,566 10-Jan-2010 07:48 Not applicable
X86_tsprint.inf_31bf3856ad364e35_6.0.6001.22600_none_6c7f8e575e6cea44.manifest Not applicable 7,011 09-Jan-2010 19:39 Not applicable
X86_tsprint.inf_31bf3856ad364e35_6.0.6002.22306_none_6e6c01fb5b8dd772.manifest Not applicable 7,011 09-Jan-2010 19:35 Not applicable

Additional files for all supported x64-based versions of Windows Server 2008

File name File version File size Date Time Platform
Amd64_tsprint.inf_31bf3856ad364e35_6.0.6001.22600_none_c89e29db16ca5b7a.manifest Not applicable 7,039 09-Jan-2010 19:36 Not applicable
Amd64_tsprint.inf_31bf3856ad364e35_6.0.6002.22306_none_ca8a9d7f13eb48a8.manifest Not applicable 7,039 09-Jan-2010 18:50 Not applicable
Update.mum Not applicable 1,576 10-Jan-2010 07:48 Not applicable

Additional files for all supported IA-64-based versions of Windows Server 2008

File name File version File size Date Time Platform
Ia64_tsprint.inf_31bf3856ad364e35_6.0.6001.22600_none_6c81324d5e6af340.manifest Not applicable 7,024 09-Jan-2010 19:30 Not applicable
Ia64_tsprint.inf_31bf3856ad364e35_6.0.6002.22306_none_6e6da5f15b8be06e.manifest Not applicable 7,024 09-Jan-2010 19:10 Not applicable
Update.mum Not applicable 1,570 10-Jan-2010 07:48 Not applicable

Additional file information for Windows Server 2008 R2

Additional files for all supported x64-based versions of Windows Server 2008 R2

File name Amd64_tsprint.inf_31bf3856ad364e35_6.1.7600.20756_none_c895ec407804bc21.manifest
File version Not Applicable
File size 3,456
Date (UTC) 16-Jul-2010
Time (UTC) 11:40
Platform Not Applicable
File name Package_1_for_kb979163~31bf3856ad364e35~amd64~~6.1.1.0.mum
File version Not Applicable
File size 2,050
Date (UTC) 16-Jul-2010
Time (UTC) 19:18
Platform Not Applicable
File name Package_2_for_kb979163~31bf3856ad364e35~amd64~~6.1.1.0.mum
File version Not Applicable
File size 1,824
Date (UTC) 16-Jul-2010
Time (UTC) 19:18
Platform Not Applicable
File name Package_for_kb979163_rtm~31bf3856ad364e35~amd64~~6.1.1.0.mum
File version Not Applicable
File size 2,110
Date (UTC) 16-Jul-2010
Time (UTC) 19:18
Platform Not Applicable