Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-2629: How to install printer-specific drivers via Group Policy.

Mac & PC Management Service ,  

12 April,16 at 11:21 AM

Applies to: All versions of Centrify DirectControl on Mac OS X
The "Specify printer list" GP is only able to install printers using generic postscript drivers:
  • User Configuration / Centrify Settings / Mac OS X Settings / Printing Settings / "Specify printer list"
This is a problem for printers which require specific drivers to be installed. 
How can printers be set up with their specific printers via group policy?


  • The "Specify printer list" GP has been updated in Centrify Suite 2014 (Mac Agent version 5.1.3-482 and higher) to now be able to use printer drivers that have been previously installed on the Mac systems. See the Explain tab of the new group policy for more info on how to use the new GP.
  • This new GP effectively replaces the need to do Step 2 of the method below.
  • To deploy printer drivers via GP, Step 1 can still be used.
Both policies from the following steps can be found in:
  • Computer Configuration / Centrify Settings / Common UNIX Settings / 
Setting up the group policies:
  1. Copying the printer-specific drivers to the Mac machines:
    • The \<domain>\SYSVOL\<domain>\ folder on the AD server can be used to host the printer drivers. 
    • Use the "Copy files" GP to push the drivers out to the location:


      Note: With some drivers, it may be necessary to enable the "Copy as binary file" setting in the Copy files GP.

      User-added image

  2. (If using Centrify Suite 2014 and Centrify Mac agent 5.1.3-482 or higher, it is recommended to use the new "Specify printer list" GP instead. See the note above)
    Using the lpadmin command to install the drivers:
    • The syntax for lpadmin is: 
      sudo lpadmin -p "[printer name]" -P "[printer driver location]" -L "[descriptive location]" -v "[cdcsmb://printer/network/path]" -E

    • For the example scenario: 
      Printer name: printer01 
      Driver location: /Library/Printers/PPDs/Contents/Resources/HP LaserJet CP2020.gz 
      Physical location: First Floor 
      Network path: cdcsmb:// 
    • The lpadmin command would be: 
      sudo lpadmin -p "printer01" -P "/Library/Printers/PPDs/Contents/Resources/HP LaserJet CP2020.gz" -L "First Floor" -v "cdcsmb://" -E
    • This command can either be run from a login script, or by using the "Specify commands to run" GP:

      User-added image
  • The lpadmin command can also be used to install local printers by altering the -v parameter to point to the appropriate interface.
  • To verify the interface locations and paths for both network and local printers, the lpstat -v -l command can be used.
  • To remove a printer, use the following syntax: lpadmin -x [printer name]

For further information on the lp... commands, please see the following Apple documentation: (Links provided as a courtesy)

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.