Specifying pdf pages

New to scripting.
I'm using the extend script toolkit to create scripts to automate some of my tasks.
I have figured out how to open specific files in a folder. The files are always pdfs. How do I specify what pages of the pdf to open and to crop to the trim area?

You either use the "PDF Processor" or use some of the functions in it's code.
It can be found on Paul's website under "PSCS Scripts" @ http://www.ps-bridge-scripts.talktalk.net/
Good luck.

Similar Messages

  • Is it possible to Default "Choose page source by PDF page size" option in the "Print" dialog box?

    I have an SSRS report that is rendered as a PDF file; the report has many columns and utilizes 11inx17in (Landscape) paper. However, once the report is rendered and users try to print the report they have to manually select the 'Choose Paper source by PDF page size' option in order to get the report to print on the correct paper (otherwise it defaults to standard letter size - landscape orientation).
    I'm aware of 'Print Presets' functionality; however, I don't believe they apply to this scenario. Is there a config file/registry setting/anything that can be specified to automatically set the 'Choose paper source by PDF page size' print setting = On/True/Checked?
    Any help would be greatly appreciated...

    Anybody out there?

  • Create excel hyperlink directly to PDF page in a file

    I have seen some old posts on this saying this could not be done. Wondering if anyone has developed a way to do this yet?
    I want my excel hyperlink to take me to a specified page within a PDF that is filed on my harddrive.
    I'm able to link the PDF but not to a specific page.
    Any ideas how I might do this?

    Hi,
    it's me again.
    Well, with the PDF open parameters I am now able to open a pdf document via HTML on a specific page number.
    (http://example.org/doc.pdf#page=10)
    However page numbers are changing so I want do define a special Article using the following command:
    http://example.org/doc.pdf#nameddest=Article16
    but the pdf opens always at the first page. Is there something to do in the pdf document with Article 16 first ?
    Regards Krokah

  • How to export antialiased images of PDF pages?

    Hello all:
    I recently upgraded to Acrobat XI, and I am surprised to see that you STILL cannot export (or Save As) PDF pages to images that are ANTIALIASED!? Does anyone have a simple answer for this that doesn't involve a workflow of more than 5 steps? This is so headslappingly obvious a need that I'm at a loss for what Adobe's engineers are thinking when programming the Save As Image functions...
    I posted this question all the way back in 2009 (see post at http://forums.adobe.com/message/2411677#2411677), and still the answer is the same: when Acrobat saves pages as TIF or JPEG files, they are ALIASED. Who would want that? Who?! WHY?
    It's simply exasperating that Adobe does not include a tiny, little check box that says "Antialiased" in the "Save As TIF / JPEG Settings" dialog box where you set all kinds of parameters like resolution and colorspace....If the exporting process would just include antialiasing, you could set the resolution you desire and YOU'RE DONE.
    But, as far as I can tell, you still have to perform some kind of gymnastic routine like:
    Open the PDF and select all the desired page thumbnails to export.
    Right-click and choose Extract Pages. Make sure to check "Extract Pages as Separate Files."
    Export all the separate PDFs for each desired page into a folder somewhere.
    Open Photoshop and start recording an Action.
    Open one of the PDFs and specify the desired resolution.
    Save it in a desired location in an image file of your choice (TIF/JPEG).
    Stop recording the Action.
    Delete the resulting image you made of the test PDF page to avoid an overwriting error later when running the batch (or check box to overwrite in batch dialog).
    Run the Action in Batch mode on the entire folder of separate PDF pages.
    This is preposterous.
    Adobe, please get the simple things right for everyday low-level users before adding feature bloat to Acrobat with each passing version. Please.

    Hi Dave: Good points about reducing feature bloat and installer footprint taking priority for most users...
    However, if, as you say:
    Acrobat and Adobe Reader are developed as a standalone product family....
    Ultimately, since you can get an AA bitmap of a PDF file by just opening it in Photoshop etc., there is very little commercial demand for Adobe to include that feature in Acrobat.
    then, those people who do not have Photoshop (because AA is designed to be standalone, right?) cannot access antialiasing in exporting PDF images at all! Your point is exactly my point.
    If there is so little demand, then why include Export to Image functionality at all? Just eliminate it completely to save installer footprint space!....But, then, I'm sure you realize people would complain about that immediately, no? So, again, why include it at all when it's only able to export aliased images which virtually nobody is going to want? That's very passive-aggressive toward's Adobe's users. Nobody really benefits from half-baked features only begrudgingly included in software to placate the vocal minority of users who would otherwise miss it. I realize this isn't a huge issue for most users, but I think this points to a larger mentality within Adobe and the software industry in general....
    There is a huge number of people working in corporations that own legacy versions of AA who have not and will not likely subscribe to Creative Cloud! (e.g.: The 100-person architecture/engineering firm I worked at for 10 years had one copy of Photoshop on a community graphics workstation and made everyone use a sign-up sheet to access it.)
    Also, it's nice in theory that PDFs are supposed to be a print format. But, many many times, AA users have to make images (for PowerPoint, blogs, client portals etc.) from PDFs that they did not originally create and do not have the source files to recreate or export as images from their originating software. PDF export to images from Acrobat is their only choice without access to Photoshop.
    And, if AA is truly designed to be a stand-alone product, untethered from the capabilities of the entire suite of functionality across Creative Cloud apps, then a modular plug-in approach to controlling feature bloat would be more appropriate, no?
    For example, AutoCAD is a giant, sprawling application for technical drawing. And AutoDesk has recognized over the years that AutoCAD is used by many industries, each with special needs unneccesary to other industries' user base. So, they've created add-on packs of plug-ins that transform vanilla AutoCAD into AutoCAD for Architecture, Civil Engineering, Electrical Engineering, Bridge Design, Home Building, etc....see where I'm going?
    And Adobe has a far larger installed user base for Acrobat than AutoDesk does for AutoCAD! How about plugins like AA for Technical Publishing, AA for 3D modeling, AA for Presentations?...

  • PDF Page Size

    Hi,
    I'm using Adobe Acrobat XI Standard and converting websites to PDF.  The converted PDF Page Size seems to be always in 11 x 8.5 in, although the PDF printer paper size is set by default to A4 (11.69 x 8.26 in).  To avoid distortion of the image, could you please advise how to set the converted page size automatically by default to A4 which is our standard paper size in our region?

    You can specify the page size in the Web Page Conversion Settings.

  • [Automator] Render PDF Pages as Images problem

    Hi,
    I'm using an Automator Action called "Render PDF Pages as Images". It is not working properly. I've also tried one called "Change Types if Images" with the same results. The problem is both of these actions will create an image, but they won't put it anywhere other than a temp directory. With the second action, if I do it on an image file like a jpg, it will convert the image and put it in the directory the file exist in. I have a bunch of PDFs that are really just scanned images that I need to convert to TIFF and I want to automate it. It is frustrating that the actions are not working as documented. Both are supposed to render the change on the existing file in the location it exists and neither is work that way when run against a PDF.
    Any help would be appreciated.

    Christopher Stumpf wrote:
    It's really simple.
    It's a service item and it contains just one of the actions I've already listed. They are supposed to change the existing file to the desired type, in place.
    no, they are not supposed to do that. they don't say anything of the sort in their descriptions. moreover, this is completely impossible if a pdf file has several pages. I just tried it and it works just fine. I passed a multipage pdf to the action "render pdf pages as images" and it made a number of separate pdf files - one for each page, as it should according to the description. they are temp files, yes. so you just need to follow it by the action to copy (or move files) and then by "rename finder items".
    my workflow:
    1. get specified (or selected) finder items.
    2. render pdf pages as images.
    3. move finder items
    3. rename finder items.
    Message was edited by: V.K.

  • Search rollover page number not consistent with thumb and pdf page number

    Please respond by e-mail to
    [email protected]
    Adobe Reader 9.0 and 8.1.2.
    Mac OS X 10.4.11
    Mac PowerPC G4
    640 MB SDRAM
    Does Adobe Reader have a search window phrase rollover, yellow-highlighted pop up page number bug displaying the wrong page in some circumstances?
    If Yes, how do I report that bug to get Adobe to fix it?
    Viewing the same PDF:
    MacPreview does not have the problem described below,
    Adobe Reader does have the problem.
    Adobe Reader, search phrase rollover, pops up a page number that is yellow-highlighted, e.g., p# 29, and is wrong, whereas the page number for the thumb and PDF are both the same and are correct.
    My PDF has been set on Acrobat Pro to properly paginate the first eight pages in lowercase Roman numerals (i, ii, iii, iv, v, vi, vii, viii) followed by Arabic numerals (1, 2, etc.). My PDF uses an AcrobatPro special setting to properly handle this pagination scheme. The search phrase rollover pops up a yellow-highlighted page number that wrongly adds 8 pages to the page number for the thumb and for the PDF page. Suspiciously, we have 8 pages with lowercase Roman numbers. Remember, viewing the same PDF, MacPreview works perfectly, producing identical and correct page numbers for the phrase, thumb, and PDF.

    the method u followed is fine as need a page number staring from a specify value which u input.
    @section is only for resetting page number to 1 for every group and for that pdf and ppt will be fine but only for rtf u need to use that ( pressing F9).
    u can use @section and initial page number combined but they give u same output as get now. rtf output wont support it will only reset 1 every time
    What ever u do rtf output wont support initial page number code ..........
    i mentioned that F9 work around to mention that it is the only work around u have upto now to control rtf output with regards to page number.
    Guru's correct me if i am wrong. wait for a day or two if some one from guru's confirm it .
    If u need real confirmation raise an SR oracle will let u know .

  • Amazon print guidelines specify one page per sheet

    Amazon print guidelines specify one page per sheet
    I am setting up a new book and not sure I understand Amazon guidlines "one page per sheet".
    I am pretty sure this setup is one page per sheet when Exported to PDF -- can any one please confirm this?

    Thanks, you mean be sure "Spreads" is unchecked as in this screenshot (I don't know what I am doing here)...?

  • How do I: put multiple PDF pictures into one PDF page?

    I have just installed Adobe Acrobat Pro Ver 9 - so this apllication and its associated SDK are the only applications available to me for use.
    Adobe Acrobat was chosen because of its AutoCAD capabilities (when AutoCAD is not present). i.e.  Using Acrobat & AutoCAD's plot configuration files & Pen / colour selection table ensures the output has correct line thicknesses (sometimes colours in CAD are used to represent a line's thickness) - this is preserved when using Acrobat.
    The generated output is fantastic. However, when I try to print the output via Excel / Word (used for layout) - my perfect output is reduced to imperfect results.
    So: is it possible to layout multiple PDF pictures inside one PDF entity for printing purposes such that the original output is not distorted?
    I have in the past put pages in front or behind other pages but cannot find any references or code that works with Pro 9 nor indeed the manual way to insert PDF pages at any location on a single PDF Page?
    I'll try and explain.  My template coud consist of 6 boxes on a single A4 page thus:
    My base PDF Page (can be thought of as a template - ideally it wont be printed - but even if it is - it wont be printed on any media material) has 6 areas (any number of areas up to 100) on it.  In each area, there is a box.  It is within these boxes that I wish to place a PDF Picture.  Not all pictures will be the same.  How can I do that?  Ideally I'd like some example C# code - though doing it as a user will suffice, for now.
    Is there a way of programmatically selecting each of the above boxes on the base PDF Document?
    I do know of one manual method (though it seems long winded) and it is not accurate enough in that (even though the layers are deselected) - the hidden layers are subsequently outputed too - not good!
    Uses a button icon over each box.
    All the current Adobe help for the SDK refers to Pro 8 and previously - which all seems to have now been replaced in Pro 9
    This question will be placed in the Developer & User Forums - as it pertains to both.
    Thankyou in advance for anyone that either knows any workarounds or any ways to affect a solution. 

    Picture of what I want to see:
    What I get, and don't want to see is:
    The PDF was generated using Adobe Acrobat Pro 9 from an AutoCAD LT (DWG) file without AutoCAD being present but making use of a plot configuration (PC3) file & pen table (CTB) file.  The resultant file [WhatIWantToSee.pdf] is perfect - all the lines are the right thickness & colour and are perfect vectors (with no construction / proofing layers visible).  When you view that file in Acrobat and show the "Layers" property box, you see that the correct number of layers whilst are still present are indeed turned off.
    However, when I add a forms-button to one of the rectangles (please refer to initial post - where there are 6 rectangles), and display same file as icon display.  The resultant view is the one shown above named [ What I get and don't want to see].  It seems the saved layer settings are all ignored?
    I generated the PDF file through Adobe Acrobat Pro 9  Menu | File | Create PDF | From File (Files of type Autodesk) | Options | Selected Layers | Layout | Last Active Layout.
    Rectangles are regular content elements - not fields (in the general meaning of form-fields).

  • Extract PDF pages with it's actual page numbers...

    Hi scripting gurus,
    We have more than 40 of PDF documents each document contain multiple pages. Using Acrobat Professional 7.0 and 8.0 with MAC platform. We have the script to extract the pages and to suffix running numbers with the document name, please find the script below. For example CH01.pdf document total number of pages is 10, but the actual page number starts with 11. So We have to extract each pages as individual documents and the page number will followed by document name with "_" separation, (Eg: CH01_11.pdf). I have tried so many ways to include the page numbers with the document name but i can't.
    /*Split pdf pages with pNum suffixed*/
    var rename = /.*\/|\.pdf$/ig;
    var startName = this.path.replace(rename,"");
    for (var i = 1, j = 0; j < numPages; i += 1, j += 1) {
    extractPages ({
    nStart : j,
    nEnd : j == numPages - 1 ? j : j + 0,
    cPath : "/Macintosh HD/Users/Beaconpmg/Desktop/ExtractFolder/"+startName+"_"+i+".pdf"
    So please can anyone look into this and help for me.
    Thanks in advance.
    Regards
    Thiyagu

    try67
    First of all, replace numPages with this.numPages
    Also, this doesn't make any sense:
    nEnd : i == numPages - 1
    I have tried what you have said above, but it is not working. Its showing the same error (missing ; before statement)in 4th line of the script.
    Please find the complete code below;
    // see if we need to define a global offset first file
    if(global.fPageOffset == undefined) {
    var global.fPageOffset = 10; // start at 10
    /*Split pdf pages with pNum suffixed*/
    var rename = /.*\/|\.pdf$/ig;
    var startName = this.path.replace(rename,"");
    for (var i = 0; i < this.numPages; i++) { this.extractPages ({ nStart : i, nEnd : i == this.numPages - 1 , cPath : "/Macintosh HD/Users/Beaconpmg/Desktop/ExtractFolder/" + startName + "_" + (i + global.PageOffset) + ".pdf" }); }
    // add finished file's number of pages to global page offest
    global.fPageOffest += this.numPages;
    Regards
    Thiyagu

  • I am trying to print all the PDF pages in a range of 5 pages but can only print one page at a time . . . It will print the current page, but not all or pages 1-5.  Can this be overcome?

    I am trying to print all the PDF pages in a range of 5 pages but can only print one page at a time . . . It will print the current page only, but not all or pages 1-5.  I need to go to the next subsequent page and command to print current page; continuing with this procedure until all pages are printed one at a time. Can this be overcome?

    You can use printPages(1, 5), however I need to know how you print current page.

  • Is there  a way to make Safari open PDF pages without opening Finder and select Reader from my applications folder?

    Simple, When I want to open a .pdf page from the web, I get Finder to open and I have to go to my applications folder to pick up Acrobat reader, Is there a way to have Safari doing it all by itself, Preview, or any other program?

    Right or control click a PDF file you have on the hard drive then click: Get Info
    In the Get Info panel click the pop up menu next to:  Open with
    Select the app you want to open PDF files from the pop up menu then click:  Change All

  • Link to a pdf page on web from a chm file

    Hello,
    I'm using RoboHelp 9.0.2.  I'm trying to create a link in a chm file to a specific pdf page using a URL.  The link I am using is http://www.actuarialstandardsboard.org/pdf/exposure/ASOP_No27_second%20exposure_2011.pdf#p age=41
    I put the above line in my chm file.  It appears correctly in the URL project list and shows correctly when I choose Show.  It also apeears to be correct in the HTML code of the page. 
    However when I create the chm clicking on the link just brings me the start of the pdf file.  After clicking on the link in the chm file and explorer opens, the URL in explorer does not show #page=41.  It ends at.pdf.
    Am I missing something or does anyone kno whys this is not working?
    Thanks
    John

    Hi there
    That link doesn't even work for me when I paste it into the address bar of my Firefox browser. It does work in IE, but not in Firefox. In Firefox it opens the PDF generically.
    I tested in a CHM and it did try and link, but it presents a black page. Looks like the correct page, but it's blacked out.
    CHM files rely upon elements of Internet Explorer to display their content. So perhaps it's something specific to a certain version of Internet Explorer as well as a certain version of the Acrobat Reader.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How can I print a booklet where each pdf page is vertically placed on each half page instead of one pdf on each booklet page?

    I've printed a booklet before but each pdf page had two powerpoint slides on each pdf file.  This binder has one powerpoint slide on each pdf page and if I try to print it as a binder, each pdf page takes up the whole half-page on the booklet.  I want to print two pdf slides on each page of the booklet so when I open the booklet, there are four powerpoint slides printed.  So I basically want to combine the ability to print multiple slides per page but in a booklet form.

    Why not reconstruct the pages in InDesign they way you want the double pages to appear. There may even be an imposition script available that will do the trick. You could then output to pdf all the pages you want the full spread on. Leave the original to create the pages you wanted left as is.
    You can ask in the ID forum about an imposition script. I know there was one with CS4, there may have been one with CS3.

  • Question: Is there a way to create a PDF from outlook e-mail that does not embed the attachment? better, is there a way to convert the e-mail with attachement (not embeded) as pdf pages? - Problem: I have 1400 e-mails with attachments that need to be conv

    Is there a way to create a PDF from outlook e-mail that does not embed the attachment? better, is there a way to convert the e-mail with attachement (not embeded) as pdf pages?
    - Problem: I have 1400 e-mails with attachments that need to be converted into pdf and the attachments cannot be embeded.
    System: PC Windows 7 using Acrobat X Prof. - Thank you!

    Hi ,
    There is an option of embedding index for faster search while converting email to a PDF .
    However I am not sure that will serve your purpose or not .
    I would recommend you to get in touch with Microsoft support as well .
    Meanwhile I'll work on it and get back to you in case I get a desired solution .
    Regards
    Sukrit Dhingra

Maybe you are looking for