Copy link to clipboard
Copied
When opening some PDF files stored on Onedrive, Adobe Reader (latest version) switches to the Print dialog. The PDF is not opened. If I print and save a new PDF at that point, the new PDF opens. How can this be fixed?
This is usually caused by a script embedded in the file. If you only have Reader there's not much you can about it, since you can't edit the file and remove this code. What you can do is disable JavaScript altogether before opening these files, and then the Print dialog won't show (but other features might not work correctly, either).
To do so go to Edit - Preferences - JavaScript and tick off the box next to "Enable Acrobat JavaScript".
Copy link to clipboard
Copied
Hi @Jan28787298lb6s,
Hope you are doing well. Sorry for your experience with Acrobat Reader.
I suggest resetting the preferences of the application. You might want to try the steps mentioned here: Resetting Acrobat Preference settings to default.
Please let us know if this does not work, and we will investigate further.
Hope this helps.
-Souvik.
Copy link to clipboard
Copied
This is usually caused by a script embedded in the file. If you only have Reader there's not much you can about it, since you can't edit the file and remove this code. What you can do is disable JavaScript altogether before opening these files, and then the Print dialog won't show (but other features might not work correctly, either).
To do so go to Edit - Preferences - JavaScript and tick off the box next to "Enable Acrobat JavaScript".
Copy link to clipboard
Copied
How do you remove the script. Is it possible inside acrobat?
Copy link to clipboard
Copied
If you have Acrobat then yes. It's most likely located under Tools - JavaScript - Document JavaScripts.
Look for something like this:
this.print();
And delete that line or add "//" (without the quotes) before it.
Copy link to clipboard
Copied
Thanks dude. Mine got tons with default opening straight to print menu. Gonna disable em all! What a peace of mind.
Copy link to clipboard
Copied
OMG!1 that worked like a charm! thank you!!! you just saved me hours of work!
Just FYI - I went into the pdf then Tools_ Scroll down to more Tools at the bottom_ then selected "Use javascript" and then clicked on ""document Javascript Strings" and that will pop a little screen and on that screen hit EDIT edited then added the // these two slashes and press OK. Saved your .pdf document and the print screen should have dissapeared! - thank you so much!!
Copy link to clipboard
Copied
@Paola38796692f4uk @Fadzil Hafni5ED5,
Thanks for confirming that the issue is fixed for you.
-Souvik
Copy link to clipboard
Copied
I wanted a PDF of a Google calendar to use as a visual for a presentation. Google created a printable PDF that did the exact thing you are describing everytime I tried to open the file. To fix this, I did an unsophisticated jerryriged method: On Mac, I opened the file in Preview instead of Acrobat. I then printed the file and selected the option to "print as PDF," essentially creating a new copy of the file. This new file does not launch the print dialog.
Copy link to clipboard
Copied
Would you mind sharing a sample file where you see this issue?
This will help us test the issue in-house and get a fix. You can share the file with me by private message.
[To share a private message, click on my profile name followed by the blue "Send Message" button on the next page]
Thanks,
Souvik