Cool Solutions

Packaging Cupsfilter on a Mac Device


June 26, 2018 8:24 am






Installation of the printer fails on Mac if the cupsfilters specified in the PPD file is not installed. Some vendors do not distribute the drivers in .pkg or .dmg format. Hence, associating the package to the PPD file is not possible.

Micro Focus iPrint server has an option to associate a package containing cupsfilters to a PPD file in the driver store.  This helps the iPrint Client to download the package and install in case cupsfilters are not installed during printer installation process. This tool helps to create a package of cupsfilters for a given PPD file provided they are installed on Mac that the tool will run on.


  • Install the printer on a Mac using the tools provided by the vendor.

Generating the Package

For every installed printer there would be a PPD file in the /etc/cups/ppd location. Run the python script to read all the PPD files in /etc/cups/ppd directory and if THE cupsfilters are required by the PPD file, then it will create a directory with the printer name in the directory containing the PPD file and the package.

To generate the package, execute the following:


Optional Arguments:

-h, --help                       show this help message and exit
-p PPD, --ppd PPD         PPD File location or ppd file. By default, it is located in the /etc/cups/ppd directory
Destination directory where package has to be created. The default value is the current directory
-v VERSION, --version VERSION
Version of package being created. The defauls value is 1.0
Identifier for the package being created. The default value is com.filter
0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Tags: , , , , , , , ,
Categories: Cool Tools, File Analysis & Management, File Services and Management, Information Management & Governance, iPrint, Open Enterprise Server, Technical

Disclaimer: This content is not supported by Micro Focus. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

1 Comment

  1. By:tomanstey

    Hooray. Good idea.