Skip to main content
July 19, 2016
Question

Print just selected pages with an action button

  • July 19, 2016
  • 1 reply
  • 262 views

I am trying to print using an action button and it wants to print the whole document.  How can I set it up to print just selected pages?

This topic has been closed for replies.

1 reply

Inspiring
July 20, 2016

You can use JavaScript. For example, to print the second through fifth pages, the Mouse Up script for a button could be:

// Mouse Up script for button

print({nStart: 1, nEnd: 4});

There are a number of other options you can use, as detailed in the Acrobat JavaScript reference.