How to change "Default Paper Size" while using Citrix universal printer

How to change "Default Paper Size" while using Citrix universal printer

book

Article ID: CTX219617

calendar_today

Updated On:

Description

To change the default settings for the Citrix Generic Universal Printer by overriding the hard-coded default settings of the Citrix Generic Universal Printer, we use the following registry entry:

Use the following registry values to override the default settings with Citrix Universal Printer :

HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Print\UPDDevmode
Name: Refer the table mentioned in CTX113148
Type: REG_DWORD
Data: Refer the table mentioned in CTX113148

But if we want to set Paper Size to a specific size using "EMF" and "XPS" ,those registry keys differ.

And to make it work with both "EMF" and "XPS" ,we need to apply both these registry entries :

UPDDevmode Reg

For Example to set a "PaperSize - A4" ,we will see the following behavior using "EMF" and "XPS" driver preference set in policy.
 
PaperSize

With “EMF” :

  • If we set dmPaperSize (9 = A4) in register key /Citrix/Print/UPDDevmode ,the dmPaperSize value will not help us in changing the value in Citrix Universal Printer's properties. 
  • However if we use dmFormname (A4) in the register key /Citrix/Print/UPDDevmode , dmFormname value will help us in changing the value in Citrix Universal Printer's properties. 
Similarly 

With “XPS”:
  • If we set dmPaperSize (9 = A4) in register key /Citrix/Print/UPDDevmode ,the dmPaperSize value will help us in changing the value in Citrix Universal Printer's properties. 
  • However if we use dmFormname (A4) in the register key /Citrix/Print/UPDDevmode , dmFormname value will not help us in changing the value in Citrix Universal Printer's properties.
Note:- 
  • We always pick up the devmode settings from the remote printer. If the remote/client endpoint sets it to be "Letter", it will be letter, even if registry says "A4".
  • The registry override is only for Citrix Universal Printer, which is not linked to any specific printer defined on the Client endpoint.
  • For all the other printers, it will pick up the client devmode settings. Refer to CTX106812

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

We have 2 different registry entries under "UPDDevmode" to set "Default Paper Size" while using Citrix Universal Printer with EMF and XPS.

Additional Information