How to change “Default Paper Size” while using Citrix universal printer

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_MACHINESOFTWARECitrixPrintUPDDevmode

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 nothelp 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 valuewill 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 nothelp 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

Related:

  • No Related Posts

Leave a Reply