Copy link to clipboard
Copied
Hi, I am using Adobe Acrobat Pro DC. I found a script that may solve my problem but on this version of Adobe when I got into the properties section of a Button there is no option to enter any script. Maybe someone knows how to do this another way? Below I will explain what I am trying to do.
I am trying to create multiple buttons throughout my document that will print a specific page or range of pages. For example some of the buttons I need are to print pg.152-168 and another button will print just a single page.
Hopefully I have been clear enough for you all to understand. Any questions please ask.
Thanks in advance for any help.
Copy link to clipboard
Copied
It's under Actions.
Copy link to clipboard
Copied
What do you see when you go to the properties of the button field?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
It's under Actions.
Copy link to clipboard
Copied
Wow, I must have missed seeing that a dozen times. Thanks.
Maybe you can help with this too.
Using the code below If I want to print a range how would I do that?
this.print({bUI: true, nStart: this.pageNum });
Copy link to clipboard
Copied
What range?
Copy link to clipboard
Copied
Pg.152-171
Would I be able to do this.pageNum + 19 or something along those lines?
Copy link to clipboard
Copied
I wouldn't use pageNum at all. Just enter the range on its own, like this:
this.print({bUI: true, nStart: 151, nEnd: 170 });
Copy link to clipboard
Copied
Thanks Again!
Copy link to clipboard
Copied
Is it possible to preset the range to print both duplex and on legal sized paper?
Copy link to clipboard
Copied
Duplex: Yes.
Paper size: Not directly. You can tell it to choose a paper tray based on the PDF page size, though.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now