Hi Matt, You're a life saver. I used a combination of scorched earth, the newest GhostScript download (9.19) and Sauva's post on page 8 of this thread to get things working.
Scorched earth:
- uninstalled GhostScript, pxlmono, and foomatic.
- did "Reset Printing System" in System Prefs (Control-click on the left pane of the Printers & Scanners dialog)
- went into /Library/Printers/PPDs and found/deleted everything with the brand of my printer in it (Ricoh Aficio MP C2501 btw)
- went into /usr/local/bin and got rid of any leftover references to foomatic and ghostscript (all files that start with 'gs')
- went into /usr/libexec/cups/filter and did the same
- restarted the mac
Fresh start:
1) installed foomatic, GhostScript 9.19, and pxlmono in that order
2) went to /usr/local/bin and copied foomatic and all the 'gs' files to /usr/libexec/cups/filter
3) in Printers & Scanners, added my printer: IP / LPD / PXL driver
4) ran your script (this still didn't get me printing, so then I tried Sauva's ninja trick from page 8 of this thread):
5) In Terminal, typed
sudo pico /etc/cups/cups-files.conf
arrow down all the way to the bottom of the file and on a new line add this string
Sandboxing Relaxed
^X and save the edit. Then fire off this command:
sudo launchctl stop org.cups.cupsd
I'm sure that was a very sloppy and rife-with-redundancy approach, but it did the job.