0
Help create script in print button
New Here
,
/t5/acrobat-sdk-discussions/help-create-script-in-print-button/td-p/9339579
Sep 12, 2017
Sep 12, 2017
Copy link to clipboard
Copied
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/acrobat-sdk-discussions/help-create-script-in-print-button/m-p/9339580#M28988
Sep 12, 2017
Sep 12, 2017
Copy link to clipboard
Copied
To run scripts, security must allow form filling.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
DongDL_28306222
AUTHOR
New Here
,
/t5/acrobat-sdk-discussions/help-create-script-in-print-button/m-p/9339581#M28989
Sep 12, 2017
Sep 12, 2017
Copy link to clipboard
Copied
How to enable security from javascript? i have password for edit field.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/acrobat-sdk-discussions/help-create-script-in-print-button/m-p/9339582#M28990
Sep 13, 2017
Sep 13, 2017
Copy link to clipboard
Copied
You can't.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

