Extracting Pages from a PDF File

Extracting Pages from a PDF File

In response to Jon GrosJean’s question regarding the impossibility of tearing out pages from a digital version of our favourite magazine [see the February 2013 issue’s Letters section], here is a command line to extract pages from a PDF file. Let’s say you would like to keep a record of Shawn Powers’ excellent Current_Issue.tar.gz column, which is on pages 8 and 9 of February’s issue:
pdftops dlj226.pdf – | psselect -p8-9 | ➥ps2pdf14 – shawn_Feb2013_article.pdf