How to Stop a PDF from Automatically Printing When Opened
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.

- 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 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.
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.
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).
In the left-hand Categories pane of the Preferences window, scroll down and click on 'JavaScript'.
Uncheck the box labeled 'Enable Acrobat JavaScript' located at the top of the right-hand panel.
Click the 'OK' button to apply the changes. Reopen the problematic PDF file to verify that it now displays on-screen without automatically printing.

Remove Embedded Print Actions via Document Properties
Permanently delete the document-level auto-print action from the PDF so it can be shared and opened normally by anyone.
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. Download and Install WPS Office: Download WPS Office for free from the official website and install it on your device.
- 2. Launch the PDF Tool: Open WPS Office and click on the 'PDF' tab located in the left-hand navigation pane.
- 3. Open the Problematic File: Click 'Open' and locate the enterprise PDF file that was previously auto-printing.
- 4. View and Share Safely: Read, manage, or email the document securely within the WPS PDF viewer without worrying about automatic actions.

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.




