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

10.5: Get CUPS-PDF 2.5 working in Leopard Printers
Leopard only hintThe latest version of CUPS-PDF does not work in Leopard (10.5); when you go to add the printer, the CUPS-PDF printer-type option never appears. Here is how you can make it work.

The problem is that the current version compiles by default as a 64-bit executable, and it doesn't seem to play nicely with Leopard. After installing the Mac-ready version of CUPS-PDF, if CUPS-PDF doesn't appear as an available type of printer when you click the '+' in the Print/Fax System Preference panel, look in /Library/Logs/CrashReporter for relatively new files with names that start with cups-pdf (you can do this using Console, in Applications » Utilities).

Open one of these files, if you find them. If you see anything that says x_64 in there, you are probably having a bit width conflict. If so, you will need to replace the actual cups-pdf executable at /usr/libexec/cups/backend/cups-pdf with one that you compile yourself using the 32-bit flag for gcc.

Download the cups-pdf source, and compile it according to the included readme -- but add one more flag to gcc: -m32. Note that you will need a version of XCode installed that is correct for your system. For 10.5.x, that is probably XCode 3.1.3, which is no longer available at the Apple Developer Connection -- you'll have to use the version on your original 10.5 installation disc.

You'll get a warning, but the resulting cups-pdf should be 32-bit. When you replace the one that the installer put in, at /usr/libexec/cups/backend/cups-pdf, you should be fine. You may have to restart cups itself with sudo killall -HUP cupsd.

[crarko adds: I haven't tested this one.]
    •    
  • Currently 2.20 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (10 votes cast)
 
[9,363 views]  

10.5: Get CUPS-PDF 2.5 working in Leopard | 7 comments | Create New Account
Click here to return to the '10.5: Get CUPS-PDF 2.5 working in Leopard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Get CUPS-PDF 2.5 working in Leopard
Authored by: negritude on May 18, '10 02:00:54PM

Does this issue apply to the cups-pdf package in MacPorts, or just the manual install?

sudo port install cups-pdf



[ Reply to This | # ]
10.5: Get CUPS-PDF 2.5 working in Leopard
Authored by: avramd on May 18, '10 05:34:27PM

I don't know, I would hope that it would get it right. However for someone who doesn't have mac ports installed, this is a much lighter weight solution.



[ Reply to This | # ]
10.5: Get CUPS-PDF 2.5 working in Leopard
Authored by: negritude on May 18, '10 02:13:33PM

Also, the last version of Xcode available for Leopard was 3.1.4, and it's still available via the Developer Connection. Did you even look?



[ Reply to This | # ]
10.5: Get CUPS-PDF 2.5 working in Leopard
Authored by: asmeurer on May 18, '10 02:35:01PM
Or you can upgrade to Snow Leopard, which will play nicely with 64-bit.

[ Reply to This | # ]
10.5: Get CUPS-PDF 2.5 working in Leopard
Authored by: avramd on May 18, '10 05:39:53PM

Presumably. But an OS upgrade is not a trivial matter. Just because the software happens to be cheap and plugging it in a pressing upgrade only takes a couple of hours doesn't mean that that is all there is to it. At the very least you need to make sure that all of the applications and utilities you need will work under the new OS. If any don't, then you are looking at more time and/or money to get you whole again.



[ Reply to This | # ]
10.5: Get CUPS-PDF 2.5 working in Leopard
Authored by: djemp on May 19, '10 11:40:50PM

Great hint, works perfectly. Many Thanks!!!!



[ Reply to This | # ]
10.5: Get CUPS-PDF 2.5 working in Leopard
Authored by: tobylane on May 21, '10 09:29:41AM

It seems that the command line print command, lp, doesn't let you choose the equivalent of save to PDF, this would be how to print to pdf in scripts/etc.



[ Reply to This | # ]