Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Getting it to work with Snow Leopard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Getting it to work with Snow Leopard
Authored by: victory on Aug 30, '09 05:34:52AM
[Sorry, these are *not* detailed instructions -- they are just general hints for technically-inclined users. If the cmd-line isn't your thing or the description doesn't make sense, I'd suggest waiting to see if the pre-packaged installer will be updated for 10.6]

Overall Problem(s): The current (v2.4.6.1) CodePoetry package of CUPS-PDF driver doesn't work under Snow Leopard. After installing the package, the CUPS-PRINTER doesn't even show up in the Printer & Fax system prefs when you select 'Add Printer'.

Solution step#1: Per the latest CUPS-PDF README, the /usr/libexec/cups/backend/cups-pdf binary must now be chmod'ed 0700 and be chowned by root:wheel. Otherwise, the CUPS-PRINTER won't even show up. Do this and the CUPS-PRINTER should now appear and allow you to add it.

Solution step#2: The new 'application sandbox' feature in 10.6 won't allow the required pstopdf binary to write to a folder in a user's homedir. So the default 'Out ${HOME}/Desktop/cups-pdf/' entry in the /etc/cups/cups-pdf.conf file will cause the printjob to silently fail. (Watch System.log for evidence of this)

After wasting a few hours trying different methods to get the sandbox to create an exception for pstopdf, I gave up. Instead I just edited the cups-pdf.conf entry to point to somewhere the sandbox will allow (e.g. '/var/spool/cups-pdf/${USER}' ) then just symlinked it to a folder in my homedir.

At the moment I prefer this rather than potentially messing with the system-wide sandbox config, since this security mechanism isn't completely documented as of yet.


NOTE: While I applaud the CodePoetry author for creating the prepackaged OSX installer, if anyone reading this is going to actually dig this deep to get it to work under Snow Leopard, you might consider just building the original CUPS-PDF driver (it's only a single file) directly from the source. See http://www.cups-pdf.de . The current latest (v2.5.0) worked fine for me using the above techniques. Just don't forget that you need to manually install/edit the cups-pdf.conf file also.

[ Reply to This | # ]
Getting it to work with Snow Leopard
Authored by: DaveNJ on Sep 02, '09 09:08:59AM

Hmmm, can't get this working under SL - the CUPS printer is created, but when printing it just appears in the dock for a bounce or two but then is gone...

Can someone provide detailed steps?



[ Reply to This | # ]
Getting it to work with Snow Leopard
Authored by: bbell2000 on Sep 20, '09 01:13:13PM

Thanks for this. The codepoetry site leads one to believe that version 2.4.6.1 addresses this issue, but I did not find that to be the case.



[ Reply to This | # ]