Summary
This document discusses the printer driver mapping process invoked when an ICA session is launched.
Background
Print driver mapping provides compatibility between print driver names in a Citrix Presentation Server environment. Printers installed on the client device can be autocreated when a user logs on to an ICA session. If the print driver name associated with the printer on the client does not exactly match a print driver name available on the server, the printer is autocreated with the Universal Print Driver (UPD).
Print driver mapping is done in the Management Console. The two files that control the print driver mapping process are:
• WTSPRNT.INF: This file lists the printer mappings made through the Management Console in plain text format. Changes made through the Management Console overwrite the contents of this file.
• WTSUPRN.TXT: This file has an identical format to the WTSPRNT.INF file and is designed to be edited with a text editor. The contents of this file are not reflected in or overwritten by the Management Console. The contents of this file take precedence over the contents in the WTSPRNT.INF file. To use the WTSUPRN.TXT file, the file extension must be renamed to .INF
By default, these files are located in the \Program Files\Citrix\System32 directory.
Print driver mapping process in detail
1. Each client print driver is matched against the print drivers installed on the server running Presentation Server.
2. One of the following scenarios occurs:
• If an identical driver name match is found between the server and client, the printer is autocreated
• If the print driver name is found with an associated server driver name mapping in the WTSUPRN.INF file, the printer is autocreated
• If the print driver name is found with an associated driver name mapping in the WTSPRNT.INF file, the printer is autocreated
• If an identical driver name match is not found on the server or in either mapping file, the printer is autocreated using the UPD by default
3. The steps are repeated for each printer that must be created.
Note: The WTSUPRN.INF file is parsed before the WTSPRNT.INF file during the printer autocreation process. When the first print driver mapping is found, the parsing process stops and the printer is mapped with this driver mapping. If a print driver mapping is in both files, only the mapping in the WTSUPRN.INF file is found. Consider using only one .INF file for print driver mappings.
More Information
The above information is included in the Citrix Core Technologies and Architecture courseware.