


For the printer model, select Adobe (if you installed the Distiller PPD in step three above), otherwise leave it as Generic. For the device URI, use pdf://pathname, where pathname is where you would like the PDF file to be saved - /tmp is a good choice as it gets cleaned out automatically when you restart. Give it a descriptive name (e.g., PDF Writer). Hold down Option and click on the Add button. Restart the CUPS daemon, so it finds your new backend and model ( sudo killall -HUP cupsd)Now you can configure your virtual printer using the Printer Setup Utility.(Optional) If you have the Acrobat Distiller PPD, put a copy in /usr/share/cups/model.Make it executable by everyone: % sudo chmod a+x /usr/libexec/cups/backend/pdf.Copy the included script (in the main body of the hint) to /usr/libexec/cups/backend/pdf.Here's what you need to do (in a Terminal):
#Virtual pdf printer for mac os#
There are a few differences for Mac OS X, so I've modified his original script to fit. I found an article by Michael Goffiou that gave a simple shell script that would create a 'backend' for CUPS that does the trick. I suspected there was a simple way to do this with CUPS (the printing architecture underlying OS X). I know that you can always select Save as PDF when printing, but I had a situation where I wanted to be able to print to PDF without having to go through the Print dialog.
