Slice and Dice PDF

Using poppler-tools and psutils, you can extract a range of pages from a larger PDF file. For example, if you want to extract pages 11–14 of the PDF file afile.pdf, you could use the following command:

$ pdftops afile.pdf - | psselect -p11-14 | ps2pdf - file-p11-14.pdf

The pdftops command converts the PDF file to PostScript; the psselect command selects the relevant pages from the PostScript, and the ps2pdf command converts the selected PostScript into a new PDF file.

Load Disqus comments

Community Events

-
Park City, UT, USA
-
New Orleans, LA, USA
-
Copenhagen, Denmark
-
Austin, TX, USA
-
Austin, TX, USA