pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: extract pages from pdf file?



On 01/08, Paul Goyette wrote:
> So, is there another pdf utility that I can use to recombine a few
> pages from the original document?

I've found print/qpdf to work well, but I don't know how it would do
with an encrypted PDF.

To extract pages (here pages 10-12 and 14):
$ qpdf in.pdf out.pdf --pages in.pdf 10-12,14 --

To merge PDF files into one:
$ qpdf --empty --pages *.pdf -- out.pdf

I don't have direct experience with the following, but others on the
list liked or mentioned them in reply to your question in 2019:

* print/pdfjam
  <https://mail-index.netbsd.org/pkgsrc-users/2019/04/28/msg028412.html>

* PDFtk <https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/>
  <https://mail-index.netbsd.org/pkgsrc-users/2019/04/28/msg028413.html>

* print/podofo
  <https://mail-index.netbsd.org/pkgsrc-users/2019/04/28/msg028413.html>

Lewis


Home | Main Index | Thread Index | Old Index