I work in a university library. We offer wireless printing services to our students using Pharos Print Server, and we have handy installers for the Windows print drivers.
There are Mac drivers available, but the Mac installation process is incredibly painful. It requires downloading, installing, and configuring 2 different programs, followed by manually defining a new printer with some decidedly non-intuitive settings. Overall there are 43 steps if you know EXACTLY what you're doing.
I'd like to create combined installer program that would let our Mac users download a single file, run it, and get everything set up automatically without having to mess around with advanced printer settings. On Windows, I would use InnoSetup for this. Is there an equivalent program I could use on Mac?
The Pharos print system requires two programs to be installed in order to function:
- Pharos Notify, which monitors print requests (I think)
- Pharos Popup, which pops up a dialog asking the user to assign a name and password to each print job handled by Pharos.
The DMG files for those two programs contained .pkg files. I used
installer to run those in silent mode, then tried copying a printer app folder into ~/Library/Printers:
sudo -S installer -verbose -pkg Notify.pkg -target / sudo -S installer -verbose -pkg Popup.pkg -target / cp -r ./printers/ ~/Library/Printers/
The two packages work fine when installed in this manner, but the system doesn't recognize the printer settings.
In order to create the printer settings, I did the setup for a printer via the System Preferences UI, then copied the resulting .app folder out of ~/Library/Printers to a "printers" directory in the same place as the .pkg files. But copying it back into the ~/Library/Printers folder does not seem to make OSX recognize the printer. So I guess the problem there is that I don't know how to create or deploy preconfigured printer settings on Mac.