These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Printing Bookmarks

alacava
Registered: Aug 21 2007
Posts: 2

With everything that Adobe can do, can we print bookmarks? I mean the actual index you've set up to bookmark a document? We have several documents that need to be bookmarked in the same style and don't always remember how we set things up. Thanks.

My Product Information:
Acrobat Pro 8, Windows
alihanyaloglu
Acrobat 9Adobe EmployeeExpertTeam
Registered: Jan 30 2006
Posts: 30
Although there's no way to do this directly in Acrobat, there is a workaround via JavaScript. There is a sample in the Acrobat JavaScript API Reference, which can be viewed and dowloaded from [url=http://www.adobe.com/devnet/acrobat]http://www.adobe.com/devnet/acrobat[/url]. Here's the code that can be run from most events, such as a custom menu selection or a page action. It will dump the bookmarks and their hierarchy into the Acrobat JavaScript console, which you can copy and paste. Roll up your sleeves now...

function DumpBookmark(bkm, nLevel){var s = "";for (var i = 0; i < nLevel; i++) s += " ";console.println(s + "+-" + bkm.name);if (bkm.children != null)for (var i = 0; i < bkm.children.length; i++)DumpBookmark(bkm.children[i], nLevel + 1);}console.clear(); console.show();console.println("Dumping all bookmarks in the document.");DumpBookmark(this.bookmarkRoot, 0);
Hope that helps,

Ali Hanyaloglu

Ali Hanyaloglu
Adobe Systems Incorporated
@acroboy