Export pdf per two pages

Hey all,
I need to export to pdf in 2-page-increments
I found a somewhat similar script here in the forum but can't get it to work. Must be an error somewhere
Would someone please check and correct this for InD CC2014?
Thanks so much.
// Output PDF pages per 2 pages.  //
var SectionLength = 2;
for (var p=0; p<app.activeDocument.pages.length; p += SectionLength)
     with(app.pdfExportPreferences)
          if (p+SectionLength-1 > app.activeDocument.pages.length)
               pageRange = app.activeDocument.pages[p].name+"-"+app.activeDocument.pages[app.activeDocument.pages.le ngth-1].name;
          else
               pageRange = app.activeDocument.pages[p].name+"-"+app.activeDocument.pages[p+SectionLength-1].name;
          theFile = new File(pageRange+".pdf");
          app.activeDocument.exportFile (ExportFormat.pdfType, theFile, false);

Hey Jongware,
thanks for your fast response.
In my ExtendScript Toolkit I get the message "undefined is not an object" on line 3 when running with ExtendScript Toolkit CC
Maybe I don't know how to save a script, if there is more to it, than saving it in the right location?
Maybe I made a mistake upon cleaning up your provided script.
Existing script to export PDFs and Package INDDs in 32-page increments?

Similar Messages

  • I started and Export PDF over two and half hours ago, and it is still going.  How can I stop it?

    I started an export PDF over two and a half hours ago and it is still going.  I can't stop, and I can't upload export anything else.

    I have the same problem - updates are stuck on loading, and the app store is now also doing the same.  I've tried resetting, but it hasn't made any difference.
    I haven't been able to load iTunes onto my computer - 2 hours on the phone with Apple, as well as 4 hours of my IT guy's time (which I paid for) and no one could help.  So going through iTunes on the computer is not an option for me.
    Is there any way of cancelling or resetting the apps just with the phone?
    Have had the phone for 6 months and this is the first time it's happened, but it's been stuck like that for about a week.  Now I can't update or load any apps.

  • Exporting PDF generating duplicate pages

    Post Author: raja6791
    CA Forum: General
    Hi,
    I have a crystal report which includes 4 sub reports. The report contains 9 pages. Which is exported to PDF.
    It is working fine till last week.  Now  it is generating around 60 duplicate pages of same content.I am using ASP.NET 1.1 & Crystal Reports 11. Please help me.
    Thanks,Rajasekhar

    I swear, if someone doesn't come up with a solution to this problem, I'm gonna hurl! HA!
    I'm having the *exact* same problem as you, and have been searching for over a day for a resolution - nothing!! Not only is all my text jagged (as you illustrated here), my images are as well, and any other "effects". This is ridiculous!
    I just recently switched from a Macbook Pro running Snow Leopard, to a new shiny iMac running Mountain Lion. This is when all my problems started... Same Acrobat version, same Pages version.
    I've tried Export as PDF, Print to PDF, open them in Preview THEN export as PDF? Open the saved PDF into Illustrator, then re-save as PDF? Nothing fixes it. So I went back to my Macbook Pro, did everything the same (with the SAME document), and it works great. So I can only preclude that it's an issue with Mountain Lion.
    I'm panicking here because I have sooooo.... many documents that I've done previously, that I will no doubt need to re-open and edit, then re-save as PDF moving forward. So what am I supposed to do to fix this?
    HELP, someone!!!!!   ytimon001: were you able to find resolution on this at all?

  • Exported PDF Missing pages - why?

    Hi ...
    I'm new to Indesign and finding my way round.
    I have an Indesign document with 3 pages/spreads all sharing a common Master page, with no facing pages.
    I export to PDF, and the Export dialog offers the option of exporting pages 1-3 (so I know it sees all 3 pages), which I select, but the exported PDF only has pages 1 and 2.
    How can I fix this?
    Thanks
    Richard

    I'm exporting to PDF Print - here are the key settings - let me know if there are key settings in other tabs in the Export dialog:
    Thanks
    Richard

  • How to change Preview's Full screen default setting from "two-pages" to "continuous scroll"

    I am using OS X mavericks on my mid 2013 Air.
    I usually need to open multiple PDFs during my work and I prefer to put them all in full screen for easy swapping. I was able to change the setting which allowed me to open PDFs in "continuous scroll". However, the PDFs became two-pages display again when I put them into full screen and I can't find any setting which allow me to change the full screen default display mode. Is there a way to do it or it is simply not possible.? Could Apple just add an option for us to change it? Thanks in advance for any help.

    You may also need to reset the page zoom on pages that cause problems.
    *<b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages

  • CS3:  Export PDF crash...located the source, now what?

    InDesign CS3 keeps crashing on page 86 or 87 of a file I'm trying to Export to PDF.  I know this from watching the progress bar move across the screen, everything is fine until the status box shows page 86/87, then poof, InDesign disappears and requests to send an error report.  I was under the impression this was being caused by the Export PDF settings.  With printer's marks enabled, the Export PDF crash occurs on page 86.  Turn printer's marks off and the crash happens on page 87.  So I tried all kinds of things with Export PDF settings but came up empty.
    Then I messed around with pages 86 and 87.  Removed text frames from page 86 and tried various combinations with Export PDF.  Did the same thing on page 87, and then combinations of 86 and 87 at the same time.  No good...keeps crashing.  I removed ALL content from pages 86 and 87 and the Export PDF still crashes, even with blank pages.
    I finally got a clue when moving text frames to other pages.  Both pages have 4 text frames each.  When I moved the top text frame on page 87 to a different page -- in this case I moved it to page 98 -- the Export PDF crashed on page 96.  Not page 98 where it was located, but page 96. Weird, but it gave me a clue.
    Long story short:
    Export PDF causes InDesign to crash on page 86 or 87 unless the uppermost text frame on page 87 is moved to a non-printing layer. The text frame can remain on page 87 or be on the pasteboard; either way, it must be non-printing to prevent a crash in Export PDF mode.
    Any suggestions?  I've already searched the text frame and nothing out of the ordinary catches my eye.  The text frame is necessary for a book project.  I can't consolidate it with another frame.
    Thanks in advance!

    My memory is not so great after all...
    The bug was in CS4 and it was fixed in 6.0.4. I remembered the rest correctly...
    Here's the tech note:
    Type on a Path fails to draw in output (PDF, Print, JPEG) on the 35th and subsequent spreads. [2297179]
    Harbs

  • Firefox will not 'save as pdf' for whole page, when the page is a large one. How can this be fixed?

    My Mac Desktop PPC (2002) is running 10.4.11.
    Firefox has no more updates beyond 3.6.24, which is what I'm running here.
    I want to save a NY Daily News live update page (large and with photos..) ..which is not 'infinitely large': this one is page 3..
    But the resulting pdf is two pages, with a NY Daily New beginning.. and an 'end' on page 2. Nothing in between.
    can you help
    'Troubleshooting information' is non-applicable here, since Firefox does not even acknowledge this as a category..!

    See:
    *http://kb.mozillazine.org/Problems_printing_web_pages
    *https://support.mozilla.org/kb/Printing+a+web+page
    Try to adjust the print scale: File > Page Setup > "Format & Options": Scale (unselect: "Shrink to fit page width")

  • Adobe PDF Pack vs Adobe Export PDF?

    Is Adobe PDF Pack THE SAME AS Adobe Export PDF? Is the PDF Pack needed for Adobe Connect?

    HI Aladybt,
    Adobe PDF Pack and Export PDF are two different subscription.
    ExportPDF: This subscription would convert PDF file to different formats (DOCx, Xslx, PPTx, RTF)
    http://forums.adobe.com/docs/DOC-1511
    PDF Pack: This would do all the task that ExportPDF can do, additionally, it can convert the other formats to PDF as well and also combine multiple PDFs into One PDF.
    http://forums.adobe.com/docs/DOC-1496
    Adobe Connect is a different application and PDF pack is not required for that.
    I hope i'm able to answer your question, let me know if you have any other question
    Regards,
    ~Pranav

  • PS CS6 13.0 x64 prints two pages when one copy is set.

    I have an image that when I print it, to a printer or to PDF generates two pages of the same thing when only one copy is selected.
    The Layer>  merge layers, merge visible and flatten are all greyed out so it looks like only one layer is there.
    I'm on a MacBook (not Pro) Core2 duo circa 2008 running 10.8 and haven't any idea how to make it print only one page from within PS.
    About all I can propose to get past this is to print to PDF, delete the extra page then print it from Preview or Acrobat, but I'd like to know how to stop Photoshop from doing what it's doing in the first place.
    Any ideas out there? What other info do you need?

    It might have something to do with the print menu which always says Range: page 1 to page 2, even though there is only one page worth printing. It's quite illogical to print a second page when only one is there. If I wanted two pages of the same thing that's what copies are for.
    As near as I can tell, a range would only be used for an image that doesn't fit on one page. My image is less than 5cm high and less than that wide. (It's the same size as the lit apple logo on the lid of my Mac, which is what the image is of.)
    I tried setting and saving the default from range to single, but even then it prints two pages of the same thing both to a physical printer and a PDF file, and when I next print the range is back to page 1 to page 2. This is all without even exiting PS. Do I have to restart PS for the default to take effect?
    Why can't I save a default? Is this a directory permission thing, and why don't I get an error that they can't be saved if permissions are the reason?

  • Some Two-page Spreads export to PDF/Blurb with Errors

    Hi,
    I have created a Blurb book in default portrait format.
    Some of the two page spreads (sample: first two images in portrait format, third image squared on the top right) do not export correctly. The second image, the one, which will be on both pages, will be slightly smaller on the left page, than on the right page (both on Blurb and PDF export). Sadly, those two page spreads are useless for now
    LR4 release versions, no updates available as of now.
    Took me just three hours to upload the book and see those same errors in the Blurb preview :/
    Regards,
    Daniel

    You can use a multipage importer to import a single Page PDF into InDesign.
    Create a single page PDF
    Create a facing pages document the same size as your original file
    Multi-page place the entire pdf into facing pages (automatically done by script)
    Export entire book to PDF as spreads.
    http://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both-pdf-and-i ndd-files.php
    I say to do this with a singe pages PDF - because I don't think it will import multiple InDesign files, you'd have to place them individually - and with my experience it takes longer to import multiple indesign files - so I just use a single pages PDF.

  • Exported pdf only did one of two pages

    My source pdf was in two page but the export to Excel only showed one of the pages. How do I get both pages exported?

    Hi, Marshall.
    No, being on a Mac shouldn't affect this issue.
    I never saw a report submitted to our File Conversion Issue Form, either with the name or email address "marshall". Did you submit it? If you'd like us to investigate this further, please submit a copy of your PDF to this Form, referencing this forum post.
    Thanks.
    Dave

  • Book Module: Export to PDF and Blurb stops with error at two page spread

    I have a 66 page book created in the book module..
    When exporting to PDF the export stops with the error:
    "An error occurred while saving the book.
    There was an error creating the PDF file. "
    The same occurs (at the same book page) when exporting to BLURB
    "An error occurred while creating the book."
    The creation or export always stops at the same page which is a two page spread. Interestingly there is a two-page spread before that didn't throw an error. I tried to move the problem page to the end of the book. That didn't help because the next two page spread in the book throws an error.
    Any ideas or help?
    Lightroom version: 4.0
    Computer: Windows 7, Quadcore, 8 GB RAM

    Hi, sorry I do not have a solution but I too have a very similar issue in that the book is the same size but the export to PDF does not start at all
    I have tried reducing the image dpi settings. Jpg quality and still nothing
    The only success I have had is if I duplicate the book, delete all but 8 pages and then export at full dpi settings of 300 and 100 percent jpg quality
    Any more pages and nothing
    It's a great tool and would buy it if this feature actually worked. Oh yeah I only have the trial version at the minute to give it a good thorough test
    I have looked for solutions but like your query they are all unanswered
    Does adobe actually offer any support or is this all user solutions?
    Did you find a solution by the way?

  • Retaining Two-Page Scrolling when Exporting to Interactive PDF Not Working

    I'm currently trying to export from InDesign a continuous facing page PDF.
    My document has four pages and is set up as pages, not spreads.
    Left page is even, right is odd. Looks fine in InDesign.
    I need to do Interactive due to hyperlinks, etc.
    I choose Export and choose Interactive PDF
    My settings are All, Pages, Fit Visible, Two-Up Continuous Facing
    When it finishes and opens in Acrobat it's starting as a right, cover page. Even if I go to Two Page Scrolling/Viewing in Acrobat it shows my left-hand page starting on the right.
    Is there something in Acrobat that isn't set up correctly? I'm using Adobe Cloud so latest version of all software. Thank you in advance! It's driving me crazy as it's always worked in the past.

    Try turning on this setting in Acrobat:
    View > Page Display > Show Cover Page in Two Page View

  • How do I make two page spreads export correctly to pdf with a book file?

    I have a book I am working on in the book pallet. I have several documents in the book and have it set to auto update page numbers and keep it all organized, which is all good. However, when I export to pdf, though the page numbers and order is correct, for some reason, if it is an odd number of pages I get spread, spread, single page, spread.
    Just how the first page is always single, any last pages of a document that has an odd number of pages always gets singled out and the next document resumes in spread format. This is all in one pdf file, which I exported from the book pallet with none of the documents selected or open. I have the box for spreads checked, and it is doing spreads, but just not linking documents as spreads.

    You can use a multipage importer to import a single Page PDF into InDesign.
    Create a single page PDF
    Create a facing pages document the same size as your original file
    Multi-page place the entire pdf into facing pages (automatically done by script)
    Export entire book to PDF as spreads.
    http://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both-pdf-and-i ndd-files.php
    I say to do this with a singe pages PDF - because I don't think it will import multiple InDesign files, you'd have to place them individually - and with my experience it takes longer to import multiple indesign files - so I just use a single pages PDF.

  • How do I print front and back with two pages per sheet? (OSX Lion)

    I can't find a simple solution to my situation...
    I'm using Max OSX Lion 10.7.3 and Adobe Reader X 10.1.2. 
    I want print two PDF pages onto one printed sheet, and I want to print front and back.  When I go to the print settings and select two pages per printed sheet, the sample window shows me what I'm looking for.  But when I tell it to print odd only or even only, it changes the print selection.  Here's what happens...
    Let's say I have a PDF document that is 20 pages long.  When I tell it to print two PDF pages per sheet, it shows me that the first pages printed will be PDF pages 1 and 2.  When I tell it that I want it to print odd pages only, it tells me that the first printed page will contain PDF pages 1 and 3.
    In other words, Adobe Reader wants to print the odd PDF pages instead of the odd pages of the printed document (PDF pages 1 and 2, then 5 and 6, then 9 and 10, so on).
    So that I'm being clear...
    This [  ] is a printed page.  The numbers inside the brackets represent the page numbers in the PDF document...
    What I want to print is this...
      FRONT   ||  BACK
    [1,2]    ||  [3,4]
    [5,6]    ||  [7,8]
    [9,10]   ||  [11,12]
    [13,14]  ||  [15,16]
      [17,18]  ||  [19,20]
    What would end up printing is this...
      FRONT   ||  BACK
      [1,3]    ||  [2,4]
      [5,7]    ||  [6,8]
      [9,11]   ||  [10,12]
      [13,15]  ||  [14,16]
      [17,19]  ||  [18,20]
    Aside from telling it exactly which PDF page numbers to print (this would be a taxing job because I'm working with a 273 page document), is there an easy and simple way to print how I'd like?

    I would suggest to use Adobe Ilustrator. Also I get an error message when I try tp access the sample document.
    You can download Illustrator using Adobe Creative download - http://www.adobe.com/products/illustrator.html
    ~Deepak

Maybe you are looking for

  • Video playback to TV on older iPod

    I have an older iPod, Gen 2 or 3 (bought Spring '04). Can I move a file recorded by my PC (a TV show) via Windows Media Player onto my iPod, then take the iPod on the road, use video cables from www.speckproducts.com (which I know would work with new

  • Why does ipod does not allow to download free app free??

    My Ipod touch does not allow to download anything that is free or paid apps on my ipod. even if an app is free it asks for verification which directs me to payment gallery how come this is happening if an app is free it should not charge me it should

  • HR Report category payroll clusters

    Hi, I have a problem in using the report category which i have created for reading data from payroll clusters. I have attached PNP LDB in my program attributes and have set '900' as the selection screen. In the new report category which i had created

  • MIRO Reversal Ref - Table Name

    Hi All, I had reversed one miro document and I want that system should not pick reversal documents in my report. Can anyone tell me in which table does it maintain the Reversal Reference of MIRO. Full points will be alloted if problem solved. Regards

  • Scroll graphic files

    I am working on a product catalog, I would like to scroll the graphics files, vertically and there is more than one images in a row. I know how to scroll text using scrollbar UI COmponent, but does not know regarding how to scroll graphic files. If a