Revision of PrinterGenerator for Munki

Back in 2015, Nick McSpadden created (now-archived) PrinterGenerator, which ran a Python 2 script to create a bunch of Munki nopkgs to install printers using the lpadmin command.

Eventually, because Nick wasn’t using the script and because macOS no longer came with Python, Nick retired the project.

I’m also not using it, either, but on the MacAdmins Slack there’s been some interest in a script to generate printer nopkgs, so I’ve forked Nick’s script and revised it to still use Python to generate the nopkgs but to have the nopkgs’ scripts (installcheck_script, postinstall_script, uninstall_script) use zsh instead of Python.

You can find the forked project here: PrinterGenerator.

Again, I don’t use this, so if anyone has suggested tweaks, I’m open to reviewing pull requests.


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *