Solved

Action to print specific pages of multiple files

Posted on 2014-04-22
4
418 Views
Last Modified: 2014-04-28
I wish to create an action that will print only the last couple pages of multiple files within a given folder.  Is there a way to do this?
0
Comment
Question by:mak345
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 30

Expert Comment

by:captain
ID: 40016355
Yes and No

You can use the batch processing in Acrobat Pro to create a batch print job on a specific folder. But you can ONLY use the commands available in the standard print dialog.

So Yes if all the PDFs have the same page count (simply specify the page numbers for the two pages in the page range)

or

No if they have different page counts. As there is no way to specify the last page from the print dialog, let alone the last two only
0
 

Accepted Solution

by:
mak345 earned 0 total points
ID: 40017219
I was able to get it to work with files with different page counts by adding an "Execute JavaScript" step with the following code:

this.print({bUI: false, nStart:this.numPages-1, bSilent: true, bShrinkToFit: true});

Thanks
0
 
LVL 30

Expert Comment

by:captain
ID: 40017599
Excellent, nice find.
0
 

Author Closing Comment

by:mak345
ID: 40026827
I did additional research on the internet and found the code which is included in my comment.  It worked perfectly.
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe A recent question here at Experts Exchange piqued my interest, so I decided to provide a thorough solution and publ…
This article focuses on how to remove password security from multiple PDF files by Adobe Acrobat program. Sometimes it is essential to access the stored data items and to print, edit as well as copy content from Portable Document Format files in abs…
In this video, we show how to perform Bates Numbering/Stamping of PDF documents using Power PDF Advanced, the newest product from the Document Imaging division of Nuance Communications. There are two editions of Power PDF — Standard and Advanced. Th…
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question