This article provides an overview of the DefaultPrnFlags registry settings for XenApp servers along with common values and explanations.
Presentation Server 4.5 and XenApp 5.0 provide registry settings that can be used to change the default printing behavior. These settings track the various printing-related parameters on a per-session basis and are independent of policies configured in the management console. During log on, the session settings for printing are derived from a combination of Citrix policies, base Terminal Services defaults, and an optional DefaultPrnFlags value in the server’s registry.
Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.
Complete the following steps to implement DefaultPrnFlags:Create a key named Print under HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ if it does not already exist (Wow6432Node is not used on 64-bit servers because the printing subsystem is 64-bit).
Add a REG_DWORD value named DefaultPrnFlags under this key.
Set the value to the desired flag(s).
Value |
Explanation |
Article |
0x00000020 |
Creates the generic Citrix Universal Printer which is based on the Universal Print Driver, but not tied to any specific client printer. | |
0x00003000 |
By default, the system saves modified printer properties by sending them back to the client (if supported). If not, the system saves them in the user profile on the server. Setting this flag disables the printer properties save and restore to both the client exchange and the user profile. | |
0x00004000 |
By default, only the session users can access their autocreated printers. Even administrators on the server cannot access autocreated printers from other sessions. This flag adds the local administrators group to the ACL for all autocreated printers. | |
0x00008000 |
Forces the option for a print preview on all autocreated printers that use the Citrix Universal Print Driver as well as the Citrix Universal Printer. | |
0x00010000 |
Forces the option for a print preview on the client device when using the generic Citrix Universal Printer. By default, jobs are not previewed but sent directly to the client’s default printer. | |
0x00400000 |
Disables the connection of Session Printers during log on and reconnection. | |
0x00800000 |
Disables the deletion of Session Printers during log off. Results in the network printers becoming unmanaged within the user profiles. | |
0x10000000 |
Prevents drivers listed on the compatibility list in the management console from falling back to autocreate with the Universal Print Driver. Commonly used to prevent autocreation of printers such as faxes and PDF writers. | |
0x20000000 |
Adds the connected user account to the ACL of the autocreated printers. Allows users to print to their printers when they have multiple sessions on the same server with the same username from the same client device. | |
0x80000000 |
Disables the use of autoretained and autorestored printers. Existing printer property objects will still remain in user profiles, but they are ignored by the printing subsystem. |