Solved

Action to print specific pages of multiple files

Posted on 2014-04-22
4
408 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
  • 2
  • 2
4 Comments
 
LVL 30

Expert Comment

by:captain
Comment Utility
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
Comment Utility
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
Comment Utility
Excellent, nice find.
0
 

Author Closing Comment

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

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

This article is in response to a question here (http://www.experts-exchange.com/Other/URLs/Q_28283850.html) at Experts Exchange. The Original Poster has a scanned signature and wants to make the background transparent so that the signature may be pl…
PDF files have been in the limelight due to its unmatched features.  Personal documents, emails, business reports and eBooks are all converted into PDF files owing to peerless features provided by it. Adding watermark to a PDF file is a method to se…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now