Setting up test printing on a Mac using CUPS-PDF
Posted by Alec The Geek on 9 November 2011
In my new job at PaperCut Software I do a lot more testing of print jobs and I’ve found the following useful for saving trees. Note that this actually creates a PDF printer device on the Mac, this is different the PDF option displayed on the standard OS/X print dialogue.
- Download and install the Mac CUPS-PDF package
- Create a new printer, as a generic colour postscript device
- You can now create print jobs from the command line as any user with the following
su - testuser -c 'lpr -P cups_pdf /etc/group' - You can check the output in
/Users/Shared/CUPS-PDF
Advertisement

![[FSF Associate Member]](http://static.fsf.org/nosvn/associate/fsf-10505.png)