![]() However, I've not (yet) personally tested this new feature and I'm not sure how reliably it works.įor older versions of Ghostscript (as well as the most recent one), it should work to feed the same input PDF multiple times with different parameters to same GS call to extract non-contiguous page selections from a document. To extract pages 1, 5-10 and 12-last from the input document. This could be used like this: -sPageList="1, 5-10, 12-" ![]() The newest versions sport an new parameter, -sPageList. Together with -dFirstPage this allows for the extraction of page ranges. Ghostscript has the additional parameter of -dLastPage too. ![]() Pdftk will re-use the original PDF objects for each page as-is. To control individual aspects of this behavior (or to suppress some of them), a more complicated commandline with more parameters is required. ![]() ![]() However, pdftk is the better tool for that job (and was already recommended to you).Īlso, this Ghostscript commandline could change some of the properties in your input.pdf because it essentially re-distills it. Just for the record: you can also use Ghostscript: gs \ ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |