Skip to main content
Participant
January 10, 2023
Question

Print only 4 pages

  • January 10, 2023
  • 1 reply
  • 965 views

My job is making invoices and printing them

for that i need to print only first 4 pages in all pdf documents. Iam tired of opening each pdf and selecting 4 pages and printing them. I need to print more than 100 files a day. So is there any way to print only 4 pages in alla documents. I dont have much knowledge about computers. So please give me procedure in basic level.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
January 10, 2023

If you have Acrobat Pro you can create an Action that will print just the first 4 pages of each file, using this code:

this.print({bUI: false, nStart: 0, nEnd: 3});

Note this will use the latest print settings you used to print a file. If you want to specify additional settings (such as printer name, fit to page option, etc.) it will require a more complex script.

Participant
March 7, 2023

How to use that code?

where to type?

try67
Community Expert
Community Expert
March 7, 2023

In Acrobat Pro go to Tools - Action Wizard - Create New Action, and add to it an Execute JavaScript command with that code. Then run the Action on your files.