Citrix

How to Print Documents From the Advanced Universal Print Driver

  • CTX115553
  • Created onMar 26, 2014
  • Updated onApr 21, 2014
Article Topic Printing

Objective

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:

Registry Editor

  1. Create a REG_MULTI_SZ value named ReprocessEMFDriverList in the HKEY_LOCAL_MACHINE\Software\Citrix\ICA Client key on the client computer.
  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 is 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".

Additional Resources

CTX122962 – Citrix Printing Tool

Disclaimer

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.

Automatic translation

Important: This article was translated by an automatic translation system (also referred to as Machine Translation, or MT) and has not been translated or reviewed by people. Citrix offers a machine translated version of this article to allow for greater access to the support content. However, automatic translation is not always perfect and may contain errors of vocabulary, syntax or grammar. Citrix is not responsible for inconsistencies, errors or damage incurred as a result of the use of MT articles from our customers.Thank you.
Click here to see the English version of this article.
Languages
Was this helpful?
Thank you for your feedback

Share your comments or find out more about this topic

Citrix Forums