PDF Printing Issues

How to Stop a PDF Print Dialog from Opening Automatically

Tauseeq MagsiTauseeq Magsi Oct 28, 2026 868 views

Question details

The user wants to prevent a Print dialog box from appearing automatically right after downloading or opening a PDF file from Gmail in Internet Explorer.

How to Stop a PDF Print Dialog from Opening Automatically
Product
Web Browser PDF Viewer
Device & OS
not provided
Scenario
Downloading or opening a PDF attachment from an email client using a web browser.
Observed behavior
A Print dialog automatically triggers and opens on the screen as soon as the PDF is downloaded or viewed in the browser.
Before you start

Before changing any settings, check your browser's interface to confirm whether the PDF is being opened by the browser's built-in PDF viewer or an external plugin like Adobe Acrobat.

Solution 1Recommended

Identify and Change the Default PDF Viewer in Your Browser

Check which application is handling PDFs in your browser, as automatic print prompts usually stem from browser extensions or built-in viewers rather than dedicated desktop software.

Often, email clients like Gmail or browsers like Internet Explorer use their own integrated PDF viewers which might interpret download actions differently. Disabling the browser plugin forces the PDF to open in a dedicated desktop application.

1
Check the PDF interface

Open the PDF from Gmail and look at the toolbar to determine if it is the browser's native viewer or an Adobe plugin.

2
Access browser add-ons

Navigate to your browser's settings menu and select 'Manage Add-ons' or 'Extensions'.

3
Locate PDF extensions

Find the extension responsible for PDF viewing (e.g., Adobe Acrobat Reader or a native PDF viewer).

4
Disable or change the viewer

Disable the extension to force the browser to download the PDF instead of opening it automatically, or set your dedicated desktop software as the default handler.

Identify and Change the Default PDF Viewer in Your Browser
Tip: Taking a screenshot of the Print dialog and the application behind it can help you quickly identify which software is actually generating the print command.
Manage PDFs Easily

Open and Print PDFs Securely with WPS Office

Use WPS Office as your default PDF reader to bypass unwanted browser scripts and automatic print dialogs. It provides a clean, fast, and feature-rich desktop environment for viewing, editing, and printing PDF documents safely.

  1. 1. Install WPS Office: Download and install WPS Office on your computer for free.
  2. 2. Set as Default Viewer: Right-click any PDF file on your computer, select 'Open with', and choose WPS Office.
  3. 3. Apply settings: Check the box that says 'Always use this app to open .pdf files' to make it your default desktop viewer.
  4. 4. Open files safely: Double-click your downloaded PDFs to view them securely without unexpected browser print commands.
Avoids unwanted browser auto-print scripts and popup dialogsSeamless compatibility with Microsoft Office and standard PDF formatsLightweight and incredibly fast PDF reading experienceFree built-in PDF editing, merging, and annotation tools
microsoft office alternative - wps office

Frequently Asked Questions

Why does my PDF automatically try to print when I open it?

This happens for two main reasons: either the PDF file has an embedded JavaScript command created by the author to auto-print (common for shipping labels and tickets), or your web browser's PDF extension is misconfigured.

How do I stop my web browser from automatically opening PDFs?

You can change your browser settings to download PDFs directly instead of previewing them. In your browser's Privacy and Security settings, look for 'Site Settings' or 'Downloads', and toggle the option to download PDF documents instead of automatically opening them in the browser.

Can I disable JavaScript in my PDF reader to stop auto-printing?

Yes. If the PDF contains a print script, you can disable JavaScript in your dedicated PDF reader. For example, in most desktop PDF readers, you can navigate to Edit > Preferences > JavaScript, and uncheck 'Enable Acrobat JavaScript' to prevent scripts from executing.