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

Click here to return to the 'CUPS-PDF - A free virtual PDF printer' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
CUPS-PDF - A free virtual PDF printer
Authored by: jatilano on Feb 11, '10 10:12:14AM
CUPS-PDF v 2.5.0 is out and it works great in Snow Leopard. Download v 2.5 from
cd /Users/username/Downloads/cups-pdf-2.5.0/src
Compile cups-pdf in the /src directory of the downloaded folder using gcc -O9 -s -o cups-pdf cups-pdf.c
Copy the compiled code sudo cp cups-pdf /usr/libexec/cups/backend/cups-pdf The instructions state to install to /usr/lib/cups/backend which is wrong. You need to install to /usr/libexec/cups/backend
Ensure you sudo chmod 0700 /usr/libexec/cups/backend/cups-pdf
Per the instructions you will need to edit cups-pdf.conf. Edit the following lines in the .conf file:
  • GhostScript /usr/bin/pstopdf
  • GSCall %s %s -o %s %s
  • PDFVer
    Copy the edited cups-pdf.conf file to /etc/cups.
    All of your PDFs will be saved to /var/spool/cups-pdf/username As mentioned above, creating a symlink to /var/spool/cups-pdf/ to my desktop worked perfectly. sudo ln -s /var/spool/cups-pdf/username /Users/username/Desktop/CUPS-PDFs
    I also created a desktop PDF printer by option-dragging the printer to my desktop. Now I can just drag a stack of files onto the desktop printer and they are converted to PDFs and easily accessed in a folder on my desktop.

    [ Reply to This | # ]
  • CUPS-PDF - A free virtual PDF printer
    Authored by: JHPArizona on Apr 22, '10 05:30:02PM

    I could not compile the source code :(
    I am running Leopard with X Code version 3.1.4
    I get 169 errors and 58 warnings :(

    However, I did use the posting here to edit the /etc/cups/cups-pdf.conf to make it work!

    Thanks for the postings.


    [ Reply to This | # ]