How to Prevent Specific PDF Pages from Printing in Adobe Acrobat
Question details
The user needs a way to automatically or efficiently prevent specific pages (such as bills of lading) within large invoice PDFs from printing, without manually entering page ranges every time.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Printing large invoice PDFs that contain mixed content types where certain pages must remain in the digital file but should not be printed.
- Observed behavior
- Manually entering page ranges to exclude specific pages for every document is highly inefficient, and Acrobat lacks a standard interface setting to exclude pages by title.
Determine if the pages you want to exclude follow a predictable numbered pattern, or if you will need to rely on text-based identification (like searching for the phrase 'Bill of Lading') to filter them out.
Automate Page Exclusion Using Custom Acrobat JavaScript
For repetitive tasks where specific pages contain consistent titles, you can use a custom script to identify and exclude them automatically.
Standard Acrobat settings do not have a built-in feature to automatically exclude pages based on text content. However, Acrobat JavaScript can scan the document, build an array of pages that do not contain the target text, and send only the required pages to the printer.
Launch Adobe Acrobat, navigate to the 'Tools' tab, and select 'Action Wizard'.
Click 'New Action' to start building a custom automation sequence for your PDFs.
From the 'More Tools' section, add 'Execute JavaScript' to your action steps.
Enter a script that iterates through the document using 'getPageNumWords' and 'getPageNthWord' to search for your exclusion keyword (e.g., 'Bill of Lading'). Program the script to compile a list of page numbers that do not contain the keyword.
Complete the script by passing the compiled array of allowed pages to the document's 'print' method, then run the action on your large invoice files.

Use Manual Page Ranges in the Print Dialog
The most straightforward method for one-off documents is specifying the exact pages to print, omitting the ones you want to exclude.
Extract and Print a Separate File
If scripting is too complex, you can extract the necessary pages to a new, print-only document, keeping the original intact.
Easily Manage and Print Specific PDF Pages with WPS Office
WPS PDF offers highly intuitive page management tools. You can effortlessly select, extract, or print specific page ranges without relying on complicated JavaScript, making daily invoice management highly efficient.
- 1. Open Your PDF in WPS Office: Launch WPS Office and open your large invoice PDF document.
- 2. Access the Print Menu: Press Ctrl+P to open the comprehensive Print dialog box.
- 3. Set Custom Page Ranges: In the 'Page Range' section, select 'Custom' and input the exact page numbers you wish to print, bypassing the exclusions.
- 4. Use Page Operations (Alternative): Alternatively, go to the 'Page' tab on the top ribbon to visually extract the pages you need into a fresh, print-ready document with just one click.
- 5. Print Document: Click 'Print' to finalize the process quickly and efficiently.

Frequently Asked Questions
Can I set a PDF to never print certain pages by default?
There is no standard PDF setting that universally prevents specific pages from printing across all PDF viewers. You must either use a custom print script in Acrobat, manually specify the print range, or remove the pages entirely from the print version.
How do I exclude a single page from printing in Acrobat?
In the Print dialog, select 'Pages' and type the range before and after the page you want to exclude. For example, to exclude page 4 of a 10-page document, type '1-3, 5-10'.
Does extracting pages delete them from the original PDF?
No, not unless you specifically check the 'Delete pages after extracting' option in Acrobat. By default, extracting creates a copy of the selected pages in a new PDF document, leaving your original invoice file completely intact.
Can WPS Office handle custom page range printing for PDFs?
Yes, WPS Office provides a robust Print dialog where you can easily specify custom page ranges, print only odd or even pages, and manage document output just as effectively as premium PDF editors.




