Skip to main content
Participating Frequently
March 28, 2020
Question

splitting pdf at various pages and page ranges

  • March 28, 2020
  • 6 replies
  • 3997 views

Hello - I need to split a 7500 page pdf into multiple files based on single and ranges of pages, e.g.,  1829-1842, 1843-1846, 1935, 1998, 2014, 4492, 5605, etc...

 

Is there a way to do this without manually selecting all of the pages?  I tried "split" tool; however, it is limited to # of pages, file size, or bookmarks (document doesnt have bookmarks). I also tried the "extract" tool; however, it pulls them out as individual pages in seperate files for each page, or as one pdf with those pages.

 

I feel like there should be a way to do this all at once, as it would seem like something that would come up often. 

 

Thanks!

This topic has been closed for replies.

6 replies

Thom Parker
Community Expert
Community Expert
March 29, 2020

We're now on the second page of posts 😉

 

Did you  see Try67's reply?  He has a good idea, have the person go through the PDF and add sticky notes at the split points. 

 

I have a better idea. If the split points are also the places with the titles, then use the rectangle markup to encircle the title text. This text will then be copied into the comment box for the rectangle. This can be picked up by a scirpt that extracts the pages into the appropieately named PDF.  

 

This strategy still takes some manual work, but should save a lot of time. 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participating Frequently
March 29, 2020

Hi, yes thank you for the responsivness and willingness to help! However, the titles are not actually on the pages.  There is a lot more I think we could be doing with adobe and I plan on exploring that in the future.

Thom Parker
Community Expert
Community Expert
March 28, 2020

Here's a (paid for) tool that extracts all pages that contains specific words into a single PDF. 

https://www.pdfscripting.com/public/Search-and-Extract-Pages-Description.cfm

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
try67
Community Expert
Community Expert
March 28, 2020

As mentioned, this can be done using a script. For example, I've developed a (paid-for) tool for Acrobat that does just that.

You can find it here: http://try67.blogspot.com/2011/04/acrobat-extract-non-sequential-pages.html

Inspiring
March 28, 2020
Thom Parker
Community Expert
Community Expert
March 28, 2020

Hi George, I'd completely forgotten about this article. Thanks for posting it 🙂

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Inspiring
March 28, 2020

You can use the doc.extractPages method: https://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/#t=Acro12_MasterBook%2FJS_API_AcroJS%2FDoc_methods.htm%23TOC_extractPagesbc-33&rhtocid=_6_1_8_23_1_32

 

You should be able to find a number of sample scripts by doing a search.

Participating Frequently
March 28, 2020

can you help me find one please? I have been trying to follow the tutorial but I can't even get the console to run anything...

Bernd Alheit
Community Expert
Community Expert
March 28, 2020

May be possible with a script.