Copy link to clipboard
Copied
I have a file and when I open it the print dialog comes up along with the file. I guess this is something the creator put into the document; however I cannot find a way to disable this. Do you know of a way to disable it so that the print dialog does not open every time I open the document.
Using Acrobat Pro XI on Windows 10.
Thank you, Rich
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Try this:
disable JavaScript in Acrobat
Copy link to clipboard
Copied
Thankyou veryy much Bernd Alheit, I was also facing the same problem sir. Lots of blessings to you from God and me.😇😇🙏🏻🙏🏻
Copy link to clipboard
Copied
This worked. Thank you!
Copy link to clipboard
Copied
That worked. Thank you Bernd.
Copy link to clipboard
Copied
Isn't there a more proper way for this??
Copy link to clipboard
Copied
This is usually done with a script that is embedded at the doc level. If you have Acrobat Pro you can probably remove it by going to Tools - JavaScript - Document JavaScripts and editing the code. Look for something like this line and remove it:
this.print();
Then save the file and re-open it and the dialog should no longer appear.
Copy link to clipboard
Copied
This didn't work because there was nothing in the script box. Suggestions. Thanks,
Copy link to clipboard
Copied
You'll need to share the actual file with us for further help.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
The file is not publicly available. Also, if this is a book I hope you have the rights to publicly distribute it. If not, don't do so.
Copy link to clipboard
Copied
I have sample file, would you be able to crack it?
Copy link to clipboard
Copied
I was having the same issue and had nothing listed under Document JavaScripts either. I selected All JavaScripts and the print command was there. I removed it and now the document opens normally.
Copy link to clipboard
Copied
Can you explain the steps to get to select "All JavaScripts"
I have disabled all JavaScripts through
Edit
Preferences
JavaScript
unchecked enable JavaScript
and now a yellow bar appears when I open the pdf that says "JavaScript is currently disabled…"
I just want to see a clean pdf when I open, like I saw a month ago until some update occurred and now I have these random work arounds.
Copy link to clipboard
Copied
> Can you explain the steps to get to select "All JavaScripts"
You will see this at Tools > Javascript
Copy link to clipboard
Copied
You haven't removed JavaScript from the file, from what you described. Since it's still there, you get a warning. Seems correct. You need to go to the Document JavaScripts and form designer and remove every one. More a programmer task.
Copy link to clipboard
Copied
I attempted TRY67's method: Tools > JavaScript > Document JavaScripts, but the script box appeared to be empty as well. However, editing the JavaScript through the "JavaScript Editor" worked.
Tools > JavaScript > All JavaScripts
You would just need to have basic programming knowledge to remove the print functions. I delete all the scripts that were not "Commented //", and that fixed the problem.
Copy link to clipboard
Copied
You can add your own scripts there. Just name it "scripts", for example.
And it's not a good idea to edit the code via Edit All JavaScripts. If you mess up one of the tags the file can become corrupt beyond repair!
Copy link to clipboard
Copied
And I would like to thank you too Rich for asking this question as it solved my issue too.. Thankyouu, God bless you 😇🙏🏻
Copy link to clipboard
Copied
I had this same issue and found that in the preferences of the printer itself, "Print Preview" was enabled by a check box. Disabling this got rid of the Pop Up

