How to extract some pages into a new PDF?

Asked by Mark on 2017-01-09


I'm running Debian Jessie.

Sometimes I have a large PDF and want to extract a few pages into a newly created PDF.

So far, I have installed cups-pdf and printed the pages I want to extract to it. Cups works but a nicer solution would be something that would prompt me for the new filename.

Am I missing a feature somewhere or is there a better solution to do this than cups-pdf?

Thanks much!

Question information

English Edit question
qpdfview Edit question
No assignee Edit question
Last query:
Last reply:
Adam Reichold (adamreichold) said : #1

Hello Mark,

I think the most direct way without installing additional software is to use Poppler's command line utilities like in your case pdfseparate. But since I have helped a few people uncomfortable with a CLI utilities with very simple front-ends for these programs, I have created the linked bug to include such into qpdfview.

A more fully-featured solution are programs like PDFsam, but that is surely beyond the scope of qpdfview...

Best regards, Adam.

Mo (harveyburnt) said : #2

Hi Mark,

I think the easiest solution is pdftk on command line. Try somethin like this:

pdftk myinputfile.pdf cat 12-15 output extracted.pdf

for spaces use something like

pdftk "my input file.pdf" cat 12-15 output extracted.pdf


Can you help with this problem?

Provide an answer of your own, or ask Mark for more information if necessary.

To post a message you must log in.