|  | |  | | 
|
|
| Monday, June 23, 2008 | | Citrix Print DefaultPrnFlags Tool Documentation
By Pierre Marmignon @ 8:30 PM :: 4404 Views ::
0 Comments :: :: Tools | | Description
Citrix Print DefaultPrnFlags tool has been designed to help configuring the Citrix Print service when the desired options are not available via the Citrix policies.
It will also help administrators to view the effective printing policies applied to an user’s session.
When running on a machine without Presentation Server or XenApp installed, it will help to configure advanced printing settings and debug options of the ICA client. It is also capable to clean the printer properties retained in the active user’s profile.
The complete list of settings for DefaultPrnFlags can be found here in Advanced Concepts Guide
How to use Citrix DefaultPrnFlags Tool
Running on Citrix Presentation Server 4.x or XenApp 5.0 :
The screenshot below shows the default tab of the tool

The tool will automatically check the registry key and display the currently enabled features on the local server. It is possible to export the key to a registry file (*.reg file), delete the HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Print registry key and subkeys.
Using the Flag to decrypt button, it is possible to enter an hexadecimal value (format 0x000000 or 0000000) and the enabled features would be shown

If the Citrix Universal Printer feature is enabled, the Options button can be used to display the below window

Those options are only available to the Citrix Universal Printer when the server side fix #155984 has been installed (introduced with PSE400R03W2K3026 or later).
The enabled settings will override the default hardcoded configuration for the Citrix Universal Printer and will apply to all users connecting to the server.
The second tab of the tool will let you enumerate the active ICA sessions on the selected server(s)

The active printing policies for that session will be shown.
Note : the session printer policies will only be displayed on XenApp. They will not be displayed on earlier versions due to a limitation in MFCOM.
Known issue : if there is no policies configured in the farm or no policy is applied to the user (for example, the policy is disabled) the below error might be displayed.

Running on a machine without Citrix Presentation Server or XenApp 5.0 :
The screenshot below shows the default tab when running the tool on a machine without Citrix Presentation Server or XenApp installed

It is strongly recommended to read through the detailed information in the tool before enabling any of those settings.
Save Setting will save the changes to the client registry.
Clean Printer Properties will delete the printer properties retained in the current user’s profile.
Installation
Unzip the file to a temporary folder and run the executable file.
Note : list of the required DLL and OCX that must be present in the temporary folder and/or registered in the system :
MSCOMCTL.OCXmsscript.ocxmsstdfmt.dllscrrun.dllTABCTL32.ocx
Uninstallation
Delete the file from the machine
Disclaimer
This software application is provided to you "as is" with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the code be used to support of ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the code. |
|
|
|
|
| Comments | | Only registered users may post comments. |
|
| |
| |  | | |
|
| |