Need to export indesign as single spread pdf(in javascript)

Need to export pdf as individual single spread pdf file in indesign javascript scripting.
I can get whole spread as single pdf file through : app.pdfExportPreferences.exportReaderSpreads = true;
but my need is to export every spread as individual single pdf (like single page pdf file).

Write a script that sets "Export as Spreads" and then export per two pages.
(Post-thought)
Perhaps it's easier (way easier) to just export as spreads, then use Acrobat to "Extract Pages As Separate Files" -- a basic function.

Similar Messages

  • Cannot export InDesign document as small pdf

    Need to export an InDesign multi-page document as a small pdf file for internet viewing.
    Have tried in CC and CS6. Even though it's set to "Smallest File Size," the document is not compressed.
    The interesting thing is that, with exactly the same document, sometimes it will be properly compressed and sometimes it won't (original document size: 31MB; Smallest File Size: 4 to 6MB). Have tried with the same document in both CC and CS6.
    Any explanations or cures?

    Dear Mylenium,
    Thank you (I think) for your response. There was a similar post from early in July somewhere, and I had already followed all the suggested steps to no avail (as did the poster).
    I solved the problem by deconstructing the document and extracting pages until I found the spread that was causing the difficulty. Prior to that, I had audited the space usage (in the pdf optimizer command) and found that the bulk of the megabytes were being used in shading instructions.
    As a last resort, when I found the offending spread I imported the extracted pdf page into Photoshop, flattened the file thus rasterizing it, and exported it again as a Photoshop pdf.
    I recombined the pages and ended up with a document that was suitable for our use.
    I'm sorry I chose the wrong forum. This was the first time I'd ever posted anything. There are several Adobe applications that produce pdfs and aside from not really knowing where to go, wondered if the problem had been encountered in other applications.
    I have been using InDesign in various forms since it was Aldus PageMaker. And this is not the only issue we've had with the CC software. We are discussing now whether to drop the Cloud membership when it expires and move to Quark. We are primarily print publishers with tight, tight deadlines. What we need is relatively reliable software that produces consistent results, not something that seems to be in a chronic state of BETA testing.

  • Need script to place multiple single page pdfs in ID pages

    Does anyone know of a script that would place a whole folder full of single page pdf files into an indesign document one per page, alphabetically by pdf file name, and ideally add new pages as needed. The last part is optional, as the ID document could already have the required number of pages, all using the same master page with the the picture frame already in place.
    In my current project, the pdfs are all the same size as the ID document page size.
    This would be along the lines of the scripts that place multipage pdfs, but for single page ones. I have tried first creating a multipage pdf by inserting a folder full of single page pdfs at the end of an initial pdf. Acrobat 8 pro does this very well indeed, but selects the pages from the source folder in random order. I need them in alphabetical order.
    Thanks for any insight,
    Al

    For this project I could equally well use a script that would place or re link to a new pdf in a single page ID document, print device independent postscript with some sort of unique or sequential filename, and repeat the process for a whole folder of source pdf files. No new pages need to be added, and the new pdf could replace the prior one.
    What I am after is a device independent ps file for these pdf files. The ones produced by batch processing from Acrobat 8 Pro do not offer enough control, as in that method I would need *only* the black separation.
    Thanks,
    Al

  • Need to Export Emails to Single CSV file

    Is there an Apple Script that can accomplish the following:
    I have form emails from my clients that I want to consolidate into 1 CSV file.
    Is there a way to accomplish this?

    Write a script that sets "Export as Spreads" and then export per two pages.
    (Post-thought)
    Perhaps it's easier (way easier) to just export as spreads, then use Acrobat to "Extract Pages As Separate Files" -- a basic function.

  • Need help exporting multiple individual PDF files out of Indesign CC

    I work for a monthly publication and we send our files to the press at the end of the month. There are around 190+ pages that need to be exported as individual PDF's and each PDF needs to be labled as their correct page number. Since we often are backed up against the wall at our deadline, we really need a way to export all these files at one time. Is there a way to export multiple PDF files at one time in Indesign CC?

    You could script InDesign to export each page as individual PDF with specific export presets and labeled with correct page number.
    But you could also use Acrobat Pro for this task (sorry for the certainly wrong translation of the Acrobat UI – I use a german version ...):
    Export the whole publication as 1 PDF file (pp. 1-190).
    Open it in Acrobat Pro and choose »Tools › Extract Pages«.
    Type 1 to 190 and check the box »extract pages as single pages«, choose the location where to extract to and acrobat automatically numbers your new PDFs sequentially from 1 to x. (Caution: it doesn’t take the correct page number, but numbers sequentially, so it is important to have a PDF from pp. 1-190 in the correct order.)
    So with this (as mentioned – sorry for German ):
    You’ll get this:
    Tobias

  • Exporting a multipage InDesign document to single page PDFs but with unique filenames using scripts

    Hi,
    I'm using InDesign 5.5.
    My goal is to export a multipage InDesign file into single page PDFs but each single PDF must be uniquely named.
    For example;
    InDesignFileName_487275123.00.pdf
    InDesignFileName_734876882.00.pdf
    ...and so on.
    I've spent a great deal of time searching online and the closest I have found is  software called Output Factory which works fine.
    The way Output Factory works is by placing a script label within a textframe on the master page in InDesign. Then whatever is typed into the text frame on each the separate pages defines the file name of each separate page.
    However if I can solve this problem without any investment costs my boss will be very happy
    I found PEU5 which works great for exporting into single pages, it's now a case of naming each single PDF but I know nothing how about to create a script but I get the gist of what they do. My understanding is that a script could solve the second half of my problem.
    Can anyone help?
    Thanks.
    S

    Thanks Peter but but I don't think this is what I'm looking for.
    I did find this post http://forums.adobe.com/thread/841982 but I can't seem to get the script to work.
    This is the error message I get when I run the script... any ideas what I'm doing wrong?

  • Exporting Indesign book to single page PDFs

    Hi,
    I'm after a script that will enable me to select an entire Indesign book and export it as separate individual PDFs in one go.
    I know there are a few scripts that either export the book into chapters or export the .indd files to separate single PDFs, but nothing that will do everything in one action. (i.e. take the book and output all the individual pages as single PDFs)
    Has anyone written a script like this or is it easy to tweak an existing script?
    BTW I have no scripting knowlege whatsoever.
    Thank you again
    Scott
    These are the two scripts I was refering to:
    http://www.kahrel.plus.com/indesign/pdf_individuals.html
    http://indesignsecrets.com/page-exporter-utility-peu-5-script-updated-for-cs3.php

    RichardM0701, are you the same person as scottbentley?
    I fear your response doesn't make a lot of sense. The easiest way is to put your files into a book, which will not harm them. The easiest script is often no script at all.
    I don't understand your comment about separate text boxes, files contain text boxes and definitionally multiple files means multiple separate text boxes.
    I do not know what you are referring to with respect to the toc update, perhaps you could reference a particular command or script, or provide a screenshot.
    It sounds like now you are interested in updating multiple tables of contents in a single fell swoop -- this would appear to have nothing to do with the original question. If that's the case, please start a new thread.

  • I need help exporting pages newsletters as single page PDF's or as a .jpeg for an online photo book.

    need help exporting pages newsletters as single page PDF's or as a .jpeg for an online photo book.

    No same idea: 1. Look  2. Try.
    This is in Mavericks:
    Peter

  • Creating single page pdfs from a brochure designed in spreads format

    Hi there,
    So I've been asked to take a brochure that is in spreads, and save each panel as a single page pdf. So basically, in document setup, the page size is 17.75 x 8.5).  There are four panels, each panel is roughly 4.3708 x 8.5. The problem is, each panel was not created as a single page in indesign...instead, it's set up as a 17.75 x 8.5 document and the panels are created within that document size.
    I guess I wanted to find out if there is an efficient way of creating these single panel pdfs from what I've been given.
    Anybody know?

    It's either copy/paste into a properly laid out facing pages document (the best choice if it will need editing in the future), or place the pages, each one twice, into a facing pages pages doc and crop the wrong half off each page. In either case, you'll need to rearrange the pages into readers' spreads.

  • AS) export single page PDFs from multi-artboards

    I'm not exactly sure where my new problem lies. I'm trying to save out single page PDFs from an Illustrator CS4 document with multiple artboards. Each artboard should become a PDF. I can get a multi page PDF, but when it saves single page files, I get white PDFs with error messages on them (I think it is saving .ai files with a .pdf extension).
    this is where I am now (simplified, of course):
    tell application "Adobe Illustrator"
    set docName to name of current document
    set itemNumber to 1
    tell application "Finder" to set fileLoc to path to desktop as string
    set pageCount to (count artboards in document docName)
    tell current document
    set allPlacedItems to placed items
    repeat with h from 1 to (count of allPlacedItems)
    set thisPlacedItem to item h of allPlacedItems
    tell thisPlacedItem to embed
    end repeat
    set allTextItems to text frames
    repeat with j from 1 to (count of allTextItems)
    set thisTextItem to item j of allTextItems
    tell thisTextItem to convert to paths
    end repeat
    end tell
    repeat with i from 1 to pageCount
    set pdfSaveOptions to {class:PDF save options, pdfXstandard:PDFX None, compatibility:Acrobat 6, preserve editability:false, generate thumbnails:false, optimization:false, acrobat layers:false, artboard range:i, view pdf:false, color downsampling:0, color resample:nodownsample, color compression:none, grayscale downsampling:0, grayscale resample:nodownsample, grayscale compression:none, monochrome downsampling:0, monochrome resample:nodownsample, monochrome compression:none, compress art:false, trim marks:false, registration marks:false, color bars:false, page info:false, page marks style:Roman, trim mark weight:trimmarkweight025, offset:6.0, bleed link:true, bleed offset:{0, 0, 0, 0}, color conversion id:none, color destination id:none, color profile id:include all profiles, trapped:false, font subset threshold:50.0}
    set pdfName to docName & "TEST" & itemNumber & ".pdf"
    set destFile to (fileLoc & pdfName) as string
    save document 1 in file destFile as pdf with options pdfSaveOptions
    set itemNumber to (itemNumber + 1)
    end repeat
    close current document without saving
    end tell

    // Save the artboards to PDF.
    var myDoc = app.activeDocument;
    var original_filename = myDoc.name.toString();
    // alert (myDoc.name.toString() )
    // Get the folder location
    var destFolder = Folder.selectDialog('Select the folder to save the PDF files to:');
    // Get the number of artboards to export from a dialogue
    var total =  myDoc.artboards.length
    //     Number.selectDialogue('Total Number of Files to be made')
    if (destFolder) {
         for (i=0; i<total; i++)
              var destFile = new File(destFolder+original_filename+"_"+i);          //     Assign incrementing filenames
              var pdfSaveOptions = new PDFSaveOptions();
              pdfSaveOptions.viewAfterSaving = false;          //     Don't want to see these fles in Reader
              pdfSaveOptions.SaveMultipleArtboards = true;
              var range = new String();
              range = (i+1).toString();
              pdfSaveOptions.artboardRange= range;     //     not Assign incrementing page range
              myDoc.saveAs (destFile,  pdfSaveOptions);     
    I've run this script on the 3 art board document the Adobe sample scripts create. It's a just different coloured star on each artboard.
    This script appears to work in as far as I get 3 files with just one artboard showing when I open the files in Adobe Reader. Problem is when I open them in AI, I can see all the artwork is still there and even more stranger is the fact that the numbers are still 1,2,3 whereas in Reader it's just page i showing as page 1 each time.
    This could be a problem when the application I'm writing generates an image structure from the files if it sticks the excess data onto the GPU (not sure if it will or not). If it includes all the data, also it just makes the Application footprint bigger by a 8 MB or so of unnecessary baggage. An issue for a 'light weight' app.
    I noticed the export ExportArtboardsPhotoshop.jsx script has this line:
    psdExportOptions.saveMultipleArtboards = true;
    It works in that context but in PDF context it only works in terms of what Reader shows not what exists in the files. Good one Adobe… Makes me wonder what the Multiple art boards method did before AI had multiple art boards. How was AI dividing the objects?!
    Also I really need a SaveAsCopy (non-existent I think) method or I'll have to keep reopening the original file and then doing SaveAs.
    Back to manual duplicating files in finder, batch renaming, opening them all and deleting excess. Or export to PSD and get my dimensions right or just oversized (I can always down sample in the app)…
    This is truly a painful exercise!

  • Export single-page pdfs with page name

    I've been looking for a script that:
    - exports every page of an indesign file to a seperate single-page pdf (or other filetypes)
    - names the pdf with the name of a page -> this is the hard part to find
    The reason i could use it: i have a 200+ page file with productspecs. I would like to export every page with the correct productname. (extracting pdfs in acrobat is not a problem, but then i have to manually rename every file)
    I'm not sure how to name the pages, as it's not a function in indesign. Ideal would be to be able to "tell" indesign: this textframe = the pagename, so it wouldn't be necessary to label the page seperately.
    I'm not a scripter. I searched the forum and found some info on this already, but not a working script including automatic pagenaming.
    I did found an old post where someone points to such a script, but i can't find it:
    http://www.techplex.net/postsm40018_possible-to-name-pages.html#post40018
    Did anyone ever made/found/used such a script?
    (btw, a similar script for illustrator artboards would be very useful too!)
    Any help appreciated!

    scott zanelli made one years ago. does a fantastic job.
    http://indesignsecrets.com/page-exporter-utility-peu-5-script-updated-for-cs3.php
    Loic Aigon has written one...
    http://www.loicaigon.com/blog/?p=876
    as for illustrator artboards... don't know - have a look on the illustrator scripting forum.

  • Export a Indesign(CS3)  Document as PDF(Windows)

    Hi,
    I am beginner in Indesign Plugin development.
    I want to export a Indesign CS3 document as PDF programmatically. I
    know that we need to use IPDFExportPrefs and set the various
    attributes.I dont know proper code.
    Can anybody give the code to implement it.
    Or any reference to find it.
    Thanks,
    Ravi sharma

    Arthur,
    You can't export the document directly to HTML, but you can use the Cross-Media Export to make and XHTML file for Dreamweaver (or other editor). It will generate an HTML page and a blank CSS style sheet, as well as gathering the images, but web and print are entirely different formats so you won't have anything resembling your ID doc when you get through, as far as layout is concerned. If you want people to see your layout as is, you need to use PDF. Try changing the compression settings for the export to bring the size down, but it will be a compromise somewhere most likely.
    Peter

  • I have trouble exporting indesign file as pdf.

    I have trouble exporting indesign file as pdf. I need help please.

    Hi,
    Please start by telling us what happens when you try, and also how you are exporting the file.
    Regards,
    Malcolm

  • Export InDesign file to pdf problem

    I layout a weekly publication which contains photos. The positions are set, so each week I just drop a new photo into the set positions. Hundreds of these work every week, but once in awhile I get one that replaces the old photo in InDesign, but when I export it out to a pdf, it reverts to the previous photo, which obviously causes a little issue.
    Any ideas on why this happens and what to do differently? Thanks,

    I use Acrobat Professional for this along with InDesign. I believe it's the only way to do this.Export your document as a PDF. In the export dialog box check, "Create Acrobat Layers" under options. You need to set the compatibility of your PDF as "Acrobat 6 (PDF 1.5)" or higher in the upper right-hand corner.  Open the PDF in Acrobat. On the left you'll want to click on the layers icon. Opening up the layers you'll see the names of the layers exported from your InDesign file. Right clicking or control clicking on a Mac will open up the properties dialog box. The layer properties dialog box will allow you to set a number of states for the layers in PDF. You can even designate a layer to never show but always print. And, set the layer that shows to never print. Once you you set the properties for each layer save the document and you're done
    Source Internet Marketing Experts

  • Numbers exports entire document as a single page PDF

    I'm trying to give numbers a shot on an iPad, but so far I'm running into what seems like a very critical bug.
    I have a relatively simple numbers document that I'm working with. If I were to print it via os x, it would span 3 8.5x11 pages. It would stand to reason then, that if I exported it to a PDF, I would get a PDF with three 8.5x11 sized pages. But no matter what I do, when I export to PDF (On iOS or OS X) I get one long PDF that's a single page that doesn't fit any standardized page size. At least on OS X I can print and save a PDF from the print dialogue. That option doesn't exist on iOS. Does anyone habe a workaround for this bizarre behavior?

    Can't answer your question, but I experience something a little different, I have a one page Numbers file that contains a chart, a 4x6 table and title. When I go to print to see if it fits on one page and I have the page set to Portrait, and the size set to US (I assume this means 8.5x11) it fits just fine. Then I exit Print and try to export to PDF to open in another app (ZoomNotes) but while it prepared the PDF, the preview doesn't look like an 8.5x11 representation, then when I open it in zoomnotes, it gets imported as a 9.5x11 and zoomnotes won't change it. There needs to be a way to force PDF exports to the correct page size.
    Sorry for for jumping on your post, but maybe with some activity, we'll both get someone looking at this.

Maybe you are looking for

  • Mail application will not open

    My mail application quit opening a few weeks ago. When I try to open it with the icon on the dock and in the finder the screen just blinks. Even my computer savvy wife cant figure it out. My next stop is the genius bar unless there are some geniuses

  • Portal Runtime Error - MSS Implementation

    Hi, I am getting the following error in an iView for a MSS implementation (Workset: Employee Review/ Employee Document). The iView does not display correctly and I am showed the following error inside the iView: <i><b>Portal Runtime Error An exceptio

  • Distorted sounds in Windows 7 32 bit

    Hi... I re-installed my system with (Dutch) Windows 7 32 bit and used the "Vista" driver CD for my SB X-fi Music card. When I play MP3 or WAV files, the quality is reasonable, however, some sounds, specially vocals, are damped by the bass-tones. When

  • Warehouse in Enterprise Manager

    I exported metadata from Warehouse Builder 10g to OLAP 9i. In Enterprise Manager-->warehouse, I can find dimensions but not the cube. Why? Is Warehouse Builder 10g compliant with Oracle 9i? Thanks in advance for any answer.

  • Sales Analysis in COPA

    Hi, To my understanding data from fields Customer Groups 1-5 and Condition Group 1-5 get copied to sales orders and invoices for sales analysis. My question is that does the data have to be copied into a sales order and invoice for SALES ANALYSIS or