PDF Opening Issues

How to Stop a PDF from Automatically Printing When Opened

Chanuka GeekiyanageChanuka Geekiyanage Nov 2, 2026 869 views

Question details

The user needs a way to prevent a downloaded PDF file from automatically launching the print dialog and abruptly closing the application upon being opened.

How to Stop a PDF from Automatically Printing When Opened
Product
Adobe Acrobat
Device & OS
not provided
Scenario
Attempting to open, view, save, or email a PDF document that was downloaded from an enterprise asset management system.
Observed behavior
The PDF immediately triggers an automatic print job and then closes the Acrobat application instead of displaying the document for on-screen viewing.
Before you start

Before modifying your application settings, ensure you have saved a backup copy of the downloaded PDF. Keep in mind that turning off JavaScript globally may temporarily disable interactive form fields in other complex PDF documents.

Solution 1Recommended

Disable Acrobat JavaScript Preferences

Prevent embedded print scripts from executing automatically by temporarily turning off JavaScript in Adobe Acrobat.

Enterprise systems sometimes generate PDFs with embedded scripts designed to auto-print for quick processing. Disabling JavaScript globally in Acrobat stops these document-level scripts from executing, allowing you to view and save the file normally.

1
Open Adobe Acrobat Preferences

Launch Adobe Acrobat. Click on 'Edit' in the top menu bar and select 'Preferences' from the dropdown menu (or press Ctrl+K on your keyboard).

2
Navigate to JavaScript Settings

In the left-hand Categories pane of the Preferences window, scroll down and click on 'JavaScript'.

3
Disable JavaScript

Uncheck the box labeled 'Enable Acrobat JavaScript' located at the top of the right-hand panel.

4
Save and Reopen the PDF

Click the 'OK' button to apply the changes. Reopen the problematic PDF file to verify that it now displays on-screen without automatically printing.

Disable Acrobat JavaScript Preferences
Verification: If the document opens successfully without launching the print dialog, the issue was successfully identified as an embedded script.
Secure PDF Viewer

Open and Manage PDFs Safely with WPS PDF

WPS PDF provides a secure and lightweight environment to open, view, and manage PDF documents without automatically executing disruptive scripts. You can easily save, read, and share enterprise PDFs without unexpected print actions.

  1. 1. Download and Install WPS Office: Download WPS Office for free from the official website and install it on your device.
  2. 2. Launch the PDF Tool: Open WPS Office and click on the 'PDF' tab located in the left-hand navigation pane.
  3. 3. Open the Problematic File: Click 'Open' and locate the enterprise PDF file that was previously auto-printing.
  4. 4. View and Share Safely: Read, manage, or email the document securely within the WPS PDF viewer without worrying about automatic actions.
Safely opens complex PDFs without triggering aggressive auto-print scriptsFully compatible with standard Adobe PDF formats and enterprise documentsLightweight, fast, and completely free for standard viewing, reading, and sharing
microsoft office alternative - wps office

Frequently Asked Questions

Why do enterprise PDFs have automatic print scripts?

Many enterprise asset management systems automatically embed print actions in generated PDFs to streamline workflows. This is intended to allow workers to instantly print work orders, invoices, or receipts without requiring extra manual clicks.

Will disabling JavaScript in Acrobat affect other PDF files?

Yes, turning off JavaScript globally in Acrobat's Preferences will disable interactive elements like auto-calculating form fields, custom validations, and interactive buttons in other PDF documents. It is recommended to re-enable it after handling the problematic file.

How do I stop auto-printing without changing global Acrobat settings?

Instead of modifying Acrobat's global preferences, you can open the PDF using a different, lightweight PDF viewer (like your web browser or WPS PDF) that naturally ignores Acrobat-specific document-level JavaScripts.

Can I permanently remove the auto-print script from the PDF?

Yes, if you have access to a full PDF editor like Acrobat Pro, you can navigate to the document's JavaScript or Action settings, locate the specific script that triggers upon opening, and delete it. Saving the file afterward permanently removes the behavior.