How do I create a button that will print a certain range of pages within a document, say pages 3 to 5? Thanks.
Thom Parker The source for PDF Scripting Info www.pdfscripting.com Very Important - How to Debug Your Script
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]
2. Look up the "doc.print()" function and the "PrintParams" object.
At it's simplest, all you have to do is:
this.print({nStart:0, nEnd:1});
This will display the Print UI with pages 1-2 selected for printing. You cannot suppress the UI display from a document script.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script