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

Help create script in print button

New Here ,
Sep 12, 2017 Sep 12, 2017

Hi, please help me.

i create a button and input under script, it's run when click button:

var pp = this.getPrintParams();

pp.firstPage = this.pageNum;

pp.lastPage = pp.firstPage;

pp.interactive = pp.constants.interactionLevel.full;

this.print(pp);

When i create sercurity for that file and dissable default print then it not working.

How to validate form before print document?

TOPICS
Acrobat SDK and JavaScript
370
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 ,
Sep 12, 2017 Sep 12, 2017

To run scripts, security must allow form filling.

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
New Here ,
Sep 12, 2017 Sep 12, 2017

How to enable security from javascript? i have password for edit 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
LEGEND ,
Sep 13, 2017 Sep 13, 2017
LATEST

You can't.

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