Copy link to clipboard
Copied
Considering a pdf file that includes a script to be printed :
this.print();
The pdf file is 'opened' from an html page. The document doesn't open the print dialog and I don't get any error message. Html:
<object id="pdf" type="application/pdf" data="URL to my pdf file" style="position: absolute;" width="1" height="1"></object>
It was working with version 19.010.20099 and it stopped working since version 19.012.20034. I tried other versions including the latest one but the problem still exists.
Excpected result: The pdf file is printed (sent to the printer)
Observed : The pdf file is not printed (not sent to the printer)
OS: Windows 10
Adobe Acrobat Reader DC: 19.010.20099
Browser: Firefox 52.0 ESR (Please not that the browser cannot be upgraded)
The problem concern all the users
Copy link to clipboard
Copied
Is the file being displayed in Firefox? If so, then you are using the PDF viewer that is built into and comes with Firefox, and there is a pretty good chance that none of the JavaScript will actually work. For that to work, you need to open the document in Adobe Acrobat or the free Adobe Reader.
Copy link to clipboard
Copied
Hi Karl,
the file is not displayed in Firefox, nor the printing dialog box (because of the silent printing option). Please note that the Firefox version is old, and with that version the javascript can be executed.
Copy link to clipboard
Copied
MOVED TO THE ACROBAT READER FORUM
Copy link to clipboard
Copied
If I disable 'Run in AppContainer' the document is printed. Is there a way to configure the container so that it accepts printing from the script?
Copy link to clipboard
Copied
No.
Copy link to clipboard
Copied
Hello Try67, may I ask a few more details regarding your answer ?
Copy link to clipboard
Copied
Sure, but I'm not sure there's much more to say about it...
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more