Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Print just selected pages with an action button

Guest
Jul 19, 2016 Jul 19, 2016

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?

TOPICS
Acrobat SDK and JavaScript , Windows
238
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 19, 2016 Jul 19, 2016
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines