by Tim Schutt, Syracuse University and Vaughn Miller, @Vaughn_E_Miller
Shell scripts largely based on code available at the Munki wiki, under "Related Tasks: Managing Printers with Munki" by Walter Myer, SUNY Purchase © 2010 and Nick McSpadden, 2013
download via:
$ git clone https://github.com/binkleybloom/Printer_pkginfo_Wizard
There are two required components:
- the process.py script
- the supportFiles directory and its unmodified contents - must be in the same directory as process.py
On the machine that you will be running the tool from, you will need:
- A current installation of Munki - downloadable from https://github.com/munki/munki/releases
- The printer installed on the machine where you run this tool. It needs to be configured as you would like it deployed - this includes the drivers, how it is named, location information, duplex / paper trays / staple output options configured... you get the idea. This information gets pulled for the deployment.
Then, just cd to the directory with the tool, fire it off with './process.py' and follow the directions. At the end, it should provide you with a .plist file suitable for inclusion in your repository.
Note: I have made assumptions based on my own environment that may not match yours - predominately regarding how Active Directory print queues are used. This is a very large area of "YMMV".