Printers Defined on a Java Client Fail to Auto-Create when Connecting to XenApp 6.x

Printers Defined on a Java Client Fail to Auto-Create when Connecting to XenApp 6.x

book

Article ID: CTX128352

calendar_today

Updated On:

Description

Printers configured on a Java client do not get mapped with the Citrix Universal Print Driver when connecting to a server running XenApp 6.x. When attempting to print, the printers are not auto-created in the session:

Print - General Tab

The following entry is displayed in the event log on the server:

Log Name:      Application
Source:        MetaFrameEvents
Date:          2/18/2011 4:24:45 PM
Event ID:      1106
Task Category: (2)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      XenApp6Two.XenAppUPD.citrix.local
Description: Client printer auto-creation failed.  The driver could not be installed. Possible reasons for the failure: The driver is not in the list of drivers on the server. The driver cannot be located. The driver has not been mapped. Client name: (Client) Printer: (Fax (redirected 2) (from Client) in session 2) Printer driver: ()

Background

When using the Java Client, the client automatically detects all printers available to the client device and makes them available to the session.

ICA Settings

If the native or manufactures drivers are available on the XenApp server then the printers must map in the session correctly. When attempting to use the Citrix Universal Print Driver for Java client sessions, it automatically attempts to use the (PCL4) format driver. The default Citrix Universal Print Driver for all Java Client sessions is the PCL4 (HP LaserJet Series II) Printer Control Language Driver.

Resolution

Complete the following steps from your XenApp 6.x Server:
  1. Click Start and select Devices and Printers.

  2. From this page, click on one of the pre-existing printers or faxes, and select Print Server Properties from the top menu.

    Print Server Properties

  3. In the Print Server Properties screen > Drivers tab, click Add.

    Drivers tab in Print Server Properties

  4. In the Add Printer Welcome screen, click Next.

  5. In the Processor and Operating System Selection screen, confirm that Processor Type x64 is selected, and click Next to continue.

    Add Printer Driver Wizard

  6. From Printer Driver Selection, click Windows Update.

    Windows Update.

    Note: Prior to clicking on the Windows update, the PCL4 or PCL5 Drivers will not be listed because Microsoft does not include them in the base install of Server 2008. After this process completes, you must be able to browse through the HP Drivers listed and see the PCL4 (HP LaserJet Series II) and the PCL5 (HP Color LaserJet 4500 PCL 5) drivers.

  7. You can add drivers to the server by clicking on the driver name, click Next

    Printer Driver Selection

  8. Click Finish to complete the Add Printer Wizard.

    Completing Add Printer Wizard

  9. The PCL4 and PCL5 drivers must now be listed in the Print Server Properties.

    Print Server Properties

  10. Test. Open a published desktop or published application with the Java Client and attempt to print something. You must now see the same list of printers that are shown in your Java Client Printer Settings.

    List of Printers in General Printer Tab

Status

This is a Known Issue when using the client for Java with Windows Server 2008 R2. 

Problem Cause

The PCL4 (HP LaserJet series II) driver is no longer included with the Windows Server 2008 R2 operating system.

Normally, the Citrix Universal Printer Drivers are listed in the Print Management MMC snap-in. Provided all pre-requisites for the driver were installed when XenApp Setup was run, only the following drivers must appear by default:

  • Citrix Universal Printer (which is the EMF driver)
  • Citrix XPS Universal Printer
  • HP Color LaserJet 2800 PS (Citrix PS Universal Printer Driver)
If you want a Universal driver that does not appear in the preceding list, you must install it.

Issue/Introduction

This document outlines an issue caused when attempting to use the UPD printer driver with the Java client on XenApp 6.x.

Additional Information

Receiver for Java Feature Overview
CTX122703 ‑ Printers Defined on a Mac Client Fail to Auto-Create when Connecting to XenApp 5.0 on Windows 2008