Digital Magpie

Ooh, ooh, look - shiny things!

How to Convert PDFs to Postscript

It’s easy using pdftops, part of the Poppler suite of programs. First make sure it’s installed, or install it (using Homebrew on OS X):

1
2
$ brew update
$ brew install poppler

Then the command pdftops infile.pdf outfile.ps can be scripted as per usual, something like this:

1
2
3
4
for page in pages/*.pdf
do
  pdftops $page postscript/`basename -s .pdf $page`.ps
done

Recorded in the interest of helping Google organise my brain.