July 14, 2009

Tech Tip: Extract Pages From a PDF

Article Source Linux Journal
July 14, 2009, 9:29 am

There are a number of ways to extract a range of pages from a PDF file: there are PDF related toolkits for doing it, or you can use Ghostscript directly.

For example, to extract pages 22-36 from a 100-page PDF file using pdftk:

  $ pdftk A=100p-inputfile.pdf cat A22-36 output outfile_p22-p36.pdf