Copy link to clipboard
Copied
I've seen the previous thread but that option does not work. I know where to find and set-up the action but I cannot enter a "formula" to state the specific range or pages; I only have the option to print and then manual enter the page numbers. I'd like the button to just print the pages need for that part of the form. I don't see an option to enter the "formula." I'm using Acrobat Pro (Adobe for Enterprise).
Copy link to clipboard
Copied
You can't execute the menu, that has the same functionality as using the print menu. You need to code this.
Copy link to clipboard
Copied
You can print specific pages using this code:
// Print pages 1-5, 11, 21-26
var pp = this.getPrintParams();
pp.interactive = pp.constants.interactionLevel.automatic;
pp.printRange = [[0, 4], [10, 10], [20, 25]];
this.print(pp);
(notice the page numbers are zero-based in the code)
Copy link to clipboard
Copied
You must set the Print Page Range in the Document Properties: Advanced: Print Dialog Presets