How to Print Documents From the Advanced Universal Print Driver

How to Print Documents From the Advanced Universal Print Driver

book

Article ID: CTX115553

calendar_today

Updated On:

Description

This article describes the fix included in Presentation Server Client 10.x and later.

Background

Presentation Server Client 10.x and later introduces a method of printing documents generated using the Advanced Universal Print Driver (UPD) to address occasional document printing issues.

Printing Changes introduced in Presentation Server Client 10.x and Later

To resolve certain rendering issues that result from spooler that uses Enhanced Metafile (EMF) records used and are not recorded, Presentation Server Client 10.x changes the default print processing path to directly inject the EMF spool file into the spooler on the client.

Previous clients would reprocess the EMF records on the client. However, this approach can lead to some of these EMF records being ignored and potentially resulting in visible issues like text being rendered upside down and backwards.

Directly injecting the EMF spool file (which also occurs in private 9.x Presentation Server Clients that include this fix) allows the spooler to process all the EMF records, and partial fonts and other special cases that are not properly handled when the EMFs are reprocessed on the client.

There are classes of printer drivers that must gain control during the printing process in order to configure themselves. A small number of fax drivers and PDF writers typically use this class of printer driver; the usual result is no output at all, most probably because the driver does not have all the information it needs to generate the output. For these printer drivers, you can revert to the old 9.x client print path, which allows the printer driver to prompt the user and collect the information it needs to generate the output.

Presentation Server Client 10.x and later preserves this older print path for similar cases.


Instructions

Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.

Complete the following procedure to force the old print path to be used for a specific driver:

  1. Create a REG_MULTI_SZ value named ReprocessEMFDriverList in the HKEY_LOCAL_MACHINE\Software\Citrix\ICA Client key on the client computer.
    Registry Editor

  2. Copy the names of all drivers that must use the old print path into this multi-string (ReprocessEMFDriverList) value.

  3. Restart the Presentation Server Client.
    The next time cpviewer prints to a printer using one of the drivers in ReprocessEMFDriverList, and cpviewer reprocesses the EMF records on the client.
It is Fail safe to obtain the real printer driver name for configuration from the following location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers (printer name that cannot accept a directly spooled EMF print file)
"driverName".

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Issue/Introduction

This article contains information on how to print documents from the Advanced Universal Print Driver (UPD).

Additional Information

CTX122962 – Citrix Printing Tool