How To Print Directly to PDF Without Opening a File
Posted 08/03/2011 at 1:20pm
| by Cory Bohon
I receive lots of documents that I’d like to convert to PDF, but opening and resaving them all is a pain. Is there a way to print directly to PDF without opening a file?
Unfortunately, OS X doesn’t have a native way to convert files to PDF in the Finder without going through the Print dialog in each application. Luckily, the CUPS (Common Unix Printing System) PDF plug-in, written by Adam Knight and available online for free, can help you add that functionality if you’re willing to do a little bit of prep work.
Install the plug-in, head to System Preferences > Print & Fax, and click the “+” button to add a new printer. Select CUPS-PDF as the printer. Ensure that Generic PostScript Printer is selected from the drop-down menu. Next, open Automator and select Application from the template chooser. Drag the following actions from the left-hand side of the Automator window to the workflow area:
1. Get Specified Finder Items
2. Print Finder Items

Create a new "printer" using CUPS-PDF.
In the Print Finder Items action, select CUPS-PDF from the “Print to” drop-down menu. Save your new application somewhere handy like the Desktop, and drag files onto it whenever you want to quickly save them as PDFs. CUPS-PDF will save them in /Users/Shared/CUPS-PDF/username, but you can move the files wherever you want. Extra points for configuring a Folder Action to automatically move them to your Documents folder…but that’s another Ask question altogether.
GOT A TECH QUESTION OR A HELPFUL TIP TO SHARE?
Email ask@maclife.com or write to Mac|Life,
4000 Shoreline Ct, Suite 400, South San Francisco, CA 94080