Printer driver mapping and compatibility policy settings are not saved

Printer driver mapping and compatibility policy settings are not saved

book

Article ID: CTX226589

calendar_today

Updated On:

Description

The policy settings are not saved in the Printer driver mapping and compatibility policy. As a workaround, use the Citrix Group Policy PowerShell Provider to edit this setting.

Resolution

Perform the following steps to resolve the issue.

Note: Ensure Citrix Group Policy Management is installed on your machine. By default, the Delivery Controller installation installs Citrix Group Policy Management.

  1. On the Delivery Controller machine, run: Add-PSSnapin Citrix.Common.GroupPolicy
  2. Mount a drive to access the setting.

    If the policy that uses the Printer driver mapping and compatibility setting is created through Citrix Studio, run:
    New-PSDrive -PSProvider CitrixGroupPolicy -Name Site -Root \ -Controller localhost

    If the policy is a domain policy, mount the provider to a Group Policy Object (GPO) using this cmdlet:
    New-PSDrive -PSProvider CitrixGroupPolicy -Name Site –DomainGpo LDAP://CN={12345…},CN=Policies,DC=Example,DC=com

    Replace the LDAP section with the LDAP path of the GPO to be edited. The GPO might be a name instead of a GUID. So the LDAP string might look something like this: LDAP://MyGpo,CN=Policies,DC=Example,DC=com.

  3. Set the current location to the location of the Printer driver mapping and compatibility setting used by the policy to be changed: cd
    Site:\user\MyPolicy\Settings\ICA\Printing\ClientPrinters\PrinterDriverMappings\Values
  4. Change the value of an existing printer driver mapping entry at index 1. The driver name MyPrinter is set to allow, and the color is set to monochrome. Only two values are allowed for the Color property. Monochrome is 1 and color is 2.
    Set-ItemProperty -Path . -Name 1 -Value "MyPrinter,Allow,Color=1"

To create a new printer driver mapping, use the New-Item cmdlet. For example,
New-Item "MyPrinter,Allow,Color=2"