silent print

New Here ,
Jul 13, 2017

Copy link to clipboard

Copied

Is it possible to use adobe javascript to print a PDF without a dialog box popping up? I have seen suggestions that

pp.interactive = pp.constants.interactionLevel.silent;

can work but it doesn't seem to work for me. I get the error

NotAllowedError: Security settings prevent access to this property or method.

App.beginPriv:83:Field 3:Mouse Up

Thanks

Most Valuable Participant
Correct answer by try67 | Most Valuable Participant

It's possible, but requires running the script from a trusted context (ie, a folder-level script).

TOPICS
Acrobat SDK and JavaScript

Views

229

Likes

Translate

Translate

Report

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

silent print

New Here ,
Jul 13, 2017

Copy link to clipboard

Copied

Is it possible to use adobe javascript to print a PDF without a dialog box popping up? I have seen suggestions that

pp.interactive = pp.constants.interactionLevel.silent;

can work but it doesn't seem to work for me. I get the error

NotAllowedError: Security settings prevent access to this property or method.

App.beginPriv:83:Field 3:Mouse Up

Thanks

Most Valuable Participant
Correct answer by try67 | Most Valuable Participant

It's possible, but requires running the script from a trusted context (ie, a folder-level script).

TOPICS
Acrobat SDK and JavaScript

Views

230

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 13, 2017 0
Most Valuable Participant ,
Jul 13, 2017

Copy link to clipboard

Copied

It's possible, but requires running the script from a trusted context (ie, a folder-level script).

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 13, 2017 0
New Here ,
Jul 13, 2017

Copy link to clipboard

Copied

Thanks. I'll give it a go

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 13, 2017 0