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:
- 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.
- (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://my.domain.com/printer01
The lpadmin command would be:
sudo lpadmin -p "printer01" -P "/Library/Printers/PPDs/Contents/Resources/HP LaserJet CP2020.gz" -L "First Floor" -v "cdcsmb://my.domain.com/printer01" -E
- This command can either be run from a login script, or by using the "Specify commands to run" GP:
- 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)