mxcl/homebrew — Issue #9891: [cups-pdf] No PDF Generation under Snow Leopard
Author: prof3ta
Created: 2012-01-31 15:03:43+00:00
State: open

I've installed the latest version of the formula (2.6.1) and followed the instructions reported during installation:

In order to use cups-pdf with the Mac OS X printing system change the file
permissions, symlink the necessary files to their System location and
have cupsd re-read its configuration using:

chmod 0700 /usr/local/Cellar/cups-pdf/2.6.1/lib/cups/backend/cups-pdf
sudo chown root /usr/local/Cellar/cups-pdf/2.6.1/lib/cups/backend/cups-pdf
sudo ln -sf /usr/local/etc/cups/cups-pdf.conf /etc/cups/cups-pdf.conf
sudo ln -sf /usr/local/Cellar/cups-pdf/2.6.1/lib/cups/backend/cups-pdf /usr/libexec/cups/backend/cups-pdf
sudo chmod -h 0700 /usr/libexec/cups/backend/cups-pdf
sudo ln -sf /usr/local/Cellar/cups-pdf/2.6.1/share/cups/model/CUPS-PDF.ppd /usr/share/cups/model/CUPS-PDF.ppd

sudo mkdir -p /var/spool/cups-pdf/${USER}
ln -s /var/spool/cups-pdf/${USER} ${HOME}/Documents/cups-pdf
sudo killall -HUP cupsd

Printing from command line produces no output, though.

$ tail -f /var/log/cups/cups-pdf_log

Tue Jan 31 15:58:12 2012 [ERROR] failed to set file mode for PDF file (non fatal) (/Users/USERNAME/Documents/cups-pdf//YYY.pdf)
Tue Jan 31 15:58:12 2012 [STATUS] PDF creation successfully finished (USERNAME)

No output in the "Out" folder. Am I missing something obvious or are the formula instructions misleading?