On this Page
Extracting Pages from a PDF
Extracting pages is identical to the above but with -pages used instead of -docs.
This is not meant to be page numbers within a document but pages in the entire multi-document PDF starting at 1 and going up to however far it goes. You can get the number of pages in a PDF via:
DO PDFExtract -in multiDoc.pdf -pagecount Y
The selections done by -docs
and -pages
are totally independent. They are not an intersection of those criteria, nor a union of them. If those selections happened to overlap then such objects selected would come out twice. It is not recommended that you mix then.