NetBSD-Users archive

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

Re: Editing PDFs



On 10/04, Todd Gruhn wrote:
> Is there a nice way to edit a PDF, and delete the blank page(s) at
> the beginning of the document?

QPDF

  https://github.com/qpdf/qpdf

is a command-line program that can delete pages.  The way you delete
pages is by extracting pages from the original PDF to create a new PDF
with the pages you want to delete omitted.  For example, to delete pages
1-9 and 13 from a 14-page PDF named in.pdf:

$ qpdf in.pdf out.pdf --pages in.pdf 10-12,14 --

Here are some other command-line programs that can delete pages that I
think are probably good but that I've never actually used myself:

* PDFtk Server

    https://www.pdflabs.com/tools/pdftk-server/

* pdfjam

    https://github.com/rrthomas/pdfjam

Lewis


Home | Main Index | Thread Index | Old Index