• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

split pdf by bookmark

Community Beginner ,
Oct 29, 2018 Oct 29, 2018

Copy link to clipboard

Copied

I have an 800+ page pdf file with 21 bookmarks.  I want to print the whole thing, but have some indicator where the bookmarks begin and end so that I can insert tabs.  In this particular case there are no page numbers to go by, and going page by page is very tedious.  Therefore, I want to send the whole thing to the copier in one shot but be able to separate the bookmarks.  This can be done through slip sheets, offsetting (collating), or even breaking the document up into individual sections.  While I've never worked with JavaScript at all, let alone within Adobe - this appears to be my best option.  Does anyone have any idea?

TOPICS
Acrobat SDK and JavaScript , Windows

Views

4.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 29, 2018 Oct 29, 2018

That is much more complicated. You would need to write a recursive function

that iterates over all of the bookmarks in the file, executing each one and

then save the current number, execute the next one, save that number, and

extract the pages between them.

Votes

Translate

Translate
Community Expert ,
Oct 29, 2018 Oct 29, 2018

Copy link to clipboard

Copied

If there's only one level of bookmarks (or you only want to use the top-most level) then you don't need a script at all.

Use the Split Document command and select "Top-Level Bookmarks" to achieve it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 29, 2018 Oct 29, 2018

Copy link to clipboard

Copied

Yea I found that solution, however usually I need to split by all bookmarks, not just the top level.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 29, 2018 Oct 29, 2018

Copy link to clipboard

Copied

That is much more complicated. You would need to write a recursive function

that iterates over all of the bookmarks in the file, executing each one and

then save the current number, execute the next one, save that number, and

extract the pages between them.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 27, 2019 Nov 27, 2019

Copy link to clipboard

Copied

LATEST

The AutoBookmark plugin from EverMap (https://www.evermap.com/autobookmark.asp) can print the bookmark titles on the associated pages. See the functionality titled "Printing Bookmark Titles on the Corresponding Pages".

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines