Skip to main content
Rich_813
Participant
March 7, 2017
Answered

How to disable default opening of Print dialog box?

  • March 7, 2017
  • 6 replies
  • 92864 views

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

Correct answer Bernd Alheit

Try this:

disable JavaScript in Acrobat

6 replies

Participant
March 30, 2023

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

Participant
December 16, 2021

And I would like to thank you too Rich for asking this question as it solved my issue too.. Thankyouu, God bless you 😇🙏

Participant
January 22, 2021

This didn't work because there was nothing in the script box. Suggestions. Thanks,

Tiffany N.
Participant
February 17, 2021

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.

Participant
October 9, 2021

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. 

Participant
October 20, 2019

Isn't there a more proper way for this??

try67
Community Expert
Community Expert
October 20, 2019

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.

Participant
May 15, 2025

Thank you!

Rich_813
Rich_813Author
Participant
March 7, 2017

That worked.  Thank you Bernd.

Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
March 7, 2017

Try this:

disable JavaScript in Acrobat

Participant
December 16, 2021

Thankyou veryy much Bernd Alheit, I was also facing the same problem sir. Lots of blessings to you from God and me.😇😇🙏🙏