On the Remote Desktop server machine, two registry values configure string mapping of driver’s names under Terminal Services. In order to enable driver mapping, locate the following registry key:

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd Under rdpwd add the following two values:

Name: PrinterMappingINFName, Type: REG_SZ

Name: PrinterMappingINFSection, Type: REG_SZ

On PrinterMappingINFName, place the fully-qualified pathname for the INF file storing print driver mappings, such as c:\windows\inf\printsubs.inf; on PrinterMappingINFSection place the name of the section of the INF file that holds the mappings, such as Printers for example.

Create the file pointed to by the above values; the contents of the file should map any desired pair of client-side driver with the corresponding driver in the server, as in the following example:

[Printers]

"HP Universal Printing for ThinClient PCL 5" = "HP Universal Printing PCL 5"

This example instructs the system to use the "HP Universal Printing PCL 5" driver on the server every time a client connects with printers using the driver "HP Universal Printing for ThinClient PCL 5" on the client side.

Notice that capitalization and whitespace are significant in the matching of the strings above; any differences from what is shown in this example would prevent the matching from being successful.

For more information on this subject, please refer to the Microsoft white paper titled “Windows 2000 Terminal Services Printer Redirection”.

Citrix Presentation Server

Under Citrix Presentation Server versions 4.0 and 4.5 there is the option of using the Citrix UPD as the fallback driver for auto-created printers for windows clients. Under these circumstances, the recommended approach is to use the Citrix UPD in the server and UPD for Thin Clients in the clients (no configuration action is needed for this environment as the Citrix UPD is the default fallback driver). More information on printing under Citrix environments, including driver and printer selection recommendations, can be found on the white paper “HP Printers Supported in Citrix Presentation Server Environments”, found on http://www.hp.com/go/upd under the “Documentation” tab.

However, if deemed desirable to use the original UPD as the fallback driver on a Citrix Presentation Server environment, refer to appendix D of this document for the configuration instructions.

Support for specific environments

Support for VDI/CCI environments

In many regards, printing over VDI (Virtual Desktop Infrastructure) or CCI (Consolidated Client Infrastructure) provides the same experience of printing over a Microsoft Terminal Services session. In both cases the remote session protocol used is RDP, with the main difference being that under VDI/CCI users are the sole user of a full desktop operating system, while under Terminal Services there are multiple desktop sessions hosted in a single instance of a server operating system.

This solution has been tested to work with the desktop operating systems Microsoft ® Windows ® XP Pro Service Pack 2 and Microsoft ® Windows ® Vista Ultimate.

For details on setting UPD printer driver mapping under those operating systems, please refer to the section Driver mapping in this document; the same procedure detailed there also applies to the Microsoft ® Windows ® XP and Microsoft ® Windows ® Vista operating systems.

6