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

Button to print a specific page

Community Beginner ,
Nov 14, 2017 Nov 14, 2017

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.

TOPICS
PDF forms
8.8K
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
1 ACCEPTED SOLUTION
Community Expert ,
Nov 14, 2017 Nov 14, 2017

It's under Actions.

View solution in original post

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
Community Expert ,
Nov 14, 2017 Nov 14, 2017

What do you see when you go to the properties of the button field?

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
Community Beginner ,
Nov 14, 2017 Nov 14, 2017

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
Community Expert ,
Nov 14, 2017 Nov 14, 2017

It's under Actions.

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
Community Beginner ,
Nov 14, 2017 Nov 14, 2017

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 });

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
Community Expert ,
Nov 14, 2017 Nov 14, 2017

What range?

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
Community Beginner ,
Nov 14, 2017 Nov 14, 2017

Pg.152-171

Would I be able to do this.pageNum + 19 or something along those lines?

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
Community Expert ,
Nov 14, 2017 Nov 14, 2017

I wouldn't use pageNum at all. Just enter the range on its own, like this:

this.print({bUI: true, nStart: 151, nEnd: 170 });

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
Community Beginner ,
Nov 14, 2017 Nov 14, 2017

Thanks Again!

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
Community Beginner ,
Nov 14, 2017 Nov 14, 2017

Is it possible to preset the range to print both duplex and on legal sized paper?

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
Community Expert ,
Nov 14, 2017 Nov 14, 2017
LATEST

Duplex: Yes.

Paper size: Not directly. You can tell it to choose a paper tray based on the PDF page size, though.

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