Hi, Am 01.02.2012 21:07, schrieb Shippy, Tim:
I am doing some basic evaluation of pdfbox and found that if I use "pdfbox-app-1.6.0.jar pdfsplit -split 5" on a 13 page pdf, I get three result files. The first two are 5 pages each and the last one is the remaining 3 pages. The documentation doesn't show how to take just the first 5 pages and have a separate file with the remaining 8. This seems like it should not loop through the document. Can someone clarify how to split a document in one place?
You are describing the one and only way to split pdfs using PDFSplit.
But as I also missed some other options to split pdfs in pieces I improved PDFSplit and added the two parameters startPage and endPage. See [1] and [2] for further information.
Thanks Tim Shippy [email protected]
BR Andreas Lehmkühler [1] https://issues.apache.org/jira/browse/PDFBOX-1221 [2] http://pdfbox.apache.org/commandlineutilities/PDFSplit.html

