I have a 350+ page document with 100+ bookmarks. I would like to be able to click on the bookmark and print only the pages that apply to that bookmark - like all pages until the next bookmark. It looks like I might be able to accomplish something similar using packages, but I really want to have everything in one file. I've tried setting up another bookmark or button with the print action, but don't see a way to specify which pages to print. Most of the end users will not remember or understand that they need to put in a range and will end up printing the whole document. I'm a beginning user with Acrobat Pro 8.0 and I'm not a programmer, but could probably do some basic, simple scripts with examples to refer to.
this.print({nStart:3, nEnd:6});
This script prints pages 4 to 7. Page numbers in JavaScript start at zero.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script