A way to extract pdf pages from a multiple page pdf document

Chris Mohler cr33dog at gmail.com
Fri Nov 28 18:37:49 UTC 2008


On Sat, Nov 29, 2008 at 9:19 AM, Verde Denim <tdldev at gmail.com> wrote:
> If you mean to extract the pages, the only way I know of (short of an OCR
> tool) is to "print" the page(s) to a pdf writer (in Win, there is pdf995),
> then open the doc in Gimp. I also seem to recall that you could open the pdf
> in Gimp and select which page to open, although iirc it only opens one page
> at a time.

pdftk foo.pdf cat 1 2 5-8 output extracted.pdf

That command will open "foo.pdf" and add pages 1, 2, 5, 6, 7, 8 to
"extracted.pdf".  Using GIMP will reduce all text and vector graphics
to pixel data - which might be useful or might not.  I have not
thoroughly inspected the output of cups-pdf, but that method should
also work quite well.

'man pdftk' provides a few examples of common usage.

Chris




More information about the ubuntu-users mailing list