Alec the Geek

Reflections on software and related things from an older geek

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.

  1. Download and install the Mac CUPS-PDF package
  2. Create a new printer, as a generic colour postscript device
  3. 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'
  4. You can check the output in /Users/Shared/CUPS-PDF
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.