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

Use bookmark information to label and then print?

sunixx
Registered: Feb 15 2010
Posts: 1

Greetings!
 
Is it possible to use a PDF document's bookmark information for each page and apply it to the top of each page? The PDF is compiled using Merge Files into Single PDF. The bookmarks are created with no problem, but a hardcopy proof is needed. Each page needs to be clearly labeled with each page name (bookmark info) and then printed. Is there a way to repurpose bookmark information in this way? If so, is Javascript the way to go?
 
TIA!

My Product Information:
Acrobat Pro 9.4.3, Macintosh
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Yes, it can be done with JavaScript.
You need to loop over the bookmarks tree, execute each one of them, and then apply its name to the corresponding page using a watermark or a form field.

Edit: Thinking about it, I already created something like this...
http://try67.blogspot.com/2009/03/acrobat-add-bookmarks-namesnumbers-to.php

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com