3

I'm trying to install CUPS-PDF for Mac by Homebrew as follow:

$ brew install cups-pdf
Error: No available formula with the name "cups-pdf" 
It was migrated from caskroom/cask to homebrew/core.

but there is an error that it has been migrated to homebrew/core which I'm trying to install from.

In this case, what would be the proper method of installing it?

  • There are often other places that aren’t as official that package these. You could google around for them. There are quite a few resources but they aren’t going to be as well supported. – unknowndomain Feb 26 '18 at 18:41
  • looks like a side effects of the effort to merge the recipes from caskroom to the core repositories... let me check – Gio Valerio Feb 26 '18 at 20:16
  • Running brew update didn't help. – kenorb Feb 26 '18 at 20:17
  • 2
    I would say go with the installation as suggested in the answer (it's the official download repository, you get there from the package website: cups-pdf.de/welcome.shtml in the download section). Looks like in the migration the formula vanished... better to warn the brew maintainer – Gio Valerio Feb 26 '18 at 20:39
  • 2
    The formula was moved to the "homebrew/boneyard" repository, that is really a kind of "graveyard" for formulas, because "it needs write-access to SIP protected locations" – Gio Valerio Feb 26 '18 at 20:47
4

Have you tried installing it from this Bitbucket repository?

There the following instructions are given:

Installation (10.6+)

  • Install the package.
  • Open System Preferences and go to Printing.
  • Click on Add Printer (the + at the bottom).
  • "CUPS-PDF" should be in the list, select it.
  • Select "Postscript" from the "Print Using" menu and pick "Generic postscript color printer"
  • Click Add

If your OS is incompatible with the package version, install anyway. Then follow the steps in here to setup a null printer and follow the steps in here to add this null printer to the printer list.

4

I've tested instructions provided at Bitbucket, but doesn't seem to work on High Sierra as per:

This package is incompatible with this version of macOS and may fail to install.

See: OSX 10.11 (El Capitan) Package Installation Failed.

So instead, I've followed the instructions at farmerswife article and installed PDFwriter instead:

  1. Download and install the Lisanet PDFwriter installer as per instructions
  2. After installing the PDFWriter package, go back and Show Package Contents.
  3. From the installer, uncompress Archive.pax.gz and copy PDFwriter.ppd file into /Library/Printers/PPDs/Contents/Resources.
  4. Now go to the Printers dialog and add the printer, choosing the Lisanet driver as explained in the documentation.

Source: PDF printing results in "empty" or "zero bytes size" PDF.

  • Thanks kenorb to propagate the post I put on bitbucket some minutes ago. It will help many more people ;-) bitbucket.org/codepoet/cups-pdf-for-mac-os-x/issues/57/… – jean-pierre de villartay May 3 '18 at 15:13
  • No worries. I've tested the instructions, seems the installation works fine, better than CupsPDF, but it'll take a while when I log out my user to see whether it actually works fully, as I usually restart or logout once a month when I got some random kernel crash. – kenorb May 3 '18 at 15:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .