Export single Pages (as PDF) from a .indd file

Hi folks
i use ID CS2 and i'm trying to export single pages from an indd file (using C#).
i tried to make an example first and thats my code so far:
[CODE]
InDesign.Application App = (InDesign.Application) COMCreateObject("Indesign.Application");
InDesign.Document doc = App.ActiveDocument;
InDesign.Page page = (InDesign.Page)doc.Pages[1];
doc.Export(IdExportFormat.idPDFType, @"C:\indesignTestFile.pdf", false, "[High Quality Print]", "Some Comment", true);
[/CODE]
Now it says that the IdExportFormat command is not known.
any suggestions would be very great.
kind regards

thx for the quick answer. this piece of code is from a sample and i changed id to this one:
in the very top of the program - using InDesign (so that the idExportFormat works)
doc.Export(idExportFormat.idPDFType, "C:\\indesignTestFile.pdf", false, //object using)
now i have no idea what i should enter at object using
could you explain that to me a little bit further? do i have to make a constant var that has the value 1952403524 and then use idExportFormat.idPDFType as well or idExportFormat(1952403524)?
i haven't progged a while and i feel a little bit dumb right now =D so sorry for this newbie questions.
thanks for your help, i realy appreciate that
kind regards

Similar Messages

  • How to create a multi-page view PDF from Ai save file.

    Dear all.....
    Good day!
    I wish that some one can help (answer) me on the save file from ai to PDF as multi-page view.
    I have log in the adobe follow the instraction, but, still can't fine the way to select from the <save type> as multi page,
    * Selact the "Create Multi page PDF" is the something when's wrong?
    my purpose is to view it in Adobe Reader as scrolling Multi page1 page2 and page3.....
    Please help......
    Best Regards
    David Chan

    You are in the wrong forum. Adobe Reader can't create PDF documents. Try the forum for Ai.

  • Fireworks CS6 export all pages as PDF crash

    I cannot for the life of me Export all pages as pdf from FW CS6 on my Mac. All software is fully up-to-date. I have many times Exported scucessfully before, but now the same file is no longer exportable. I'm going crazy. The source PNG file is a 15 MB file of 68 pages, it is filled with hotspots that should export an interactive PDF. (I deleted all of the "unused library symbols" (even though that deletes symbols that are actually in use)). My Mac is a PowerMac 8GB RAM... I can't remeber the processor setup... I can tell you later when I'm at work...
    I have been using FW since late 90s. FW crashes a dozen or more times a day these days. I'm tired of fighting it. Adobe has frankly been woeful in updating FW (on the Mac at least). It is an excellent product... but at best an unfinished product. I've sent bug reports through official channels for years and every year Adobe fails to fix them. It is quite shocking really.
    I hope I can get a quick answer, or else my job will become much more difficult.

    Here's a partial Crash output, let me know if more would help:
    Process:         Adobe Fireworks CS6 [5239]
    Path:            /Applications/Adobe Fireworks CS6/Adobe Fireworks CS6.app/Contents/MacOS/Adobe Fireworks CS6
    Identifier:      com.macromedia.fireworks
    Version:         Adobe Fireworks CS6 version 12.0.0.236 (12.0.0)
    Code Type:       X86 (Native)
    Parent Process:  launchd [163]
    User ID:         502
    Date/Time:       2013-02-05 17:33:03.564 -0500
    OS Version:      Mac OS X 10.8.2 (12C60)
    Report Version:  10
    Interval Since Last Report:          95268 sec
    Crashes Since Last Report:           72
    Per-App Interval Since Last Report:  84851 sec
    Per-App Crashes Since Last Report:   17
    Anonymous UUID:                      EDC2114F-8AD4-DC55-0A2A-EC60302FB1F0
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Application Specific Information:
    abort() called
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib                  0x9856fa6a __pthread_kill + 10
    1   libsystem_c.dylib                       0x935caacf pthread_kill + 101

  • I recently signed up for a one month trial of adobe pro.  I logged in.  I cannot convert a single page of PDF file to word or Excel with this trial.  I just get the request to sign up for a year.  What good is the trial if I can't try it?

    I recently signed up for a one month trial of adobe pro.  I logged in.  I cannot convert a single page of PDF file to word or Excel with this trial.  I just get the request to sign up for a year.  What good is the trial if I can't try it?

    Hey vcomfort6,
    Please ensure that you are using Adobe Acrobat and not Reader to convert PDF file to word or excel.
    Could you tell me whether it is a scanned document? Does this happen with all PDFs or any specific one?
    Do you get any error message? What exactly happens when you try doing the same?
    Hope to hear from you.
    Regards,
    Anubha

  • Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process.

    Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process. I have a client application which will prepare number of source files and some meta data information (in .XML) which will be used in header/footer. Is it possible to put a run time generated DDX file in the watch folder and use it in Process. If possible how can I pass the file names in the DDX. Any sample Process will be very helpful.

    If possible, make use of Assembler API in your client application instead of doing this using watched folder. Here are the Assembler samples :  LiveCycle ES2.5 * Programming with LiveCycle ES2.5
    Watched folder can accept zip files (sample : Configuring a watched folder to handle multiple input files and write results to a single folder | Adobe LiveCycle Blog ). You can also use execute script to create the DDX at runtime : LiveCycle ES2 * Application Development Using LiveCycle Workbench ES2
    Thanks
    Wasil

  • I am trying to create a print ready PDF from a word file with unacceptable results.

    I am trying to create a print ready PDF from a word file with unacceptable results.
    The word file has a trim size of 6” x 9”. It has been set to mirror margins with the inner, top and bottom margins set to 0.75”, the outer margin is set to 0.5” and the gutter to 0.14”.
    It doesn’t matter if I create the PDF from inside Word, or open Acrobat Pro 11.0.9 and click Create From File, while the resulting document size is correct and the odd numbered pages reflect the correct margins, the even numbered pages do not. This results in some text near the outer margin, as well as the page numbers being omitted.
    Does anyone know how to correct this?
    I just noticed that some of the odd numbered pages' text is also cropped. Apparently Acrobat is refusing to set side margins to smaller than 1" (@ 3cm).

    I'm away from my printer, so I'll try it later. Even so, the proposed test is irrelevant. I operate a small publishing house and am trying to upload certain novels to Ingram, the largest book distributor in the world. The specifications I've set are the specifications they've asked for. Since they've said that the results I'm obtaining are unacceptable, and since they demand submission in PDF form, this renders Acrobat Pro for Mac completely unacceptable for anyone in the publication industry. As far as I can tell, Adobe has a serious bug here that it needs to fix—and at once.

  • Created a pdf from a word-file and inserted formfields. The fields works in other pdf-readers(nitro,reader etc), but not in adobe reader and acrobat. Please help.

    Hi,
    I have created a pdf from a word-file and inserted formfields for a work related file. I've used nitro pro to create the formfield. They works in nitro, reader, foxit etc. but not adobe reader. From page 3 and out, the font wont show when writing in a formfield. Some formfield doesnt even show.
    Please help me fix this (hopefully before the presentation at work friday) :-)
    File in question: Dropbox - Byggeplassperm_bico_prosjektledelse_2.pdf
    Kind regards
    Tobias

    Agreed. Adobe makes no claims that their Reader will work properly with forms made from third party software.

  • About Extract Information from a Indd File

    Hi!
    I need to extract meta information and a little preview from a indd file and others like Quark, i thought the adobe Indesign SDK Product could help me, but i saw this SDK is only for create plugins, my question is: Can i do that with a SDK from adobe? Or do anyone knows some tool to resolve my problem.
    Scenario: I have a web application and i need  too run this solution with the adobe solution.
    Regards,
    Rafael Bueno

    We already use XMP SDK metadata to extract metadata file information, but the thumbnail generated by XMP is very small.
    I need something to open the document and export a image in big resolution and extract all images inside the document, this is not a XMP information.
    Regards,
    Rafael Bueno

  • Having issues Creating a PDF from an Excel file

    When creating PDFs from an Excel file using the Adobe PDF printer, I sometimes run into an issue where the PDF ends up shrinking what's on the document and distorting the image. I have examined all Print Settings and can't find a difference between any of the margin settings, paper size, etc. Once I go to print to Adobe PDF, it just changes the way the whole document looks and is spaced.
    To work around the issue, I use Microsoft's built in Save As PDF feature, but that's only works some of the time. I would like to use the Acrobat software so that I can also edit the document immediately without having to re-open it.

    Be sure Adobe PDF is selected as the printer in the print menu. Then do a print preview. It it looks wrong then, it is likely an Excel format issue.

  • I just paid almost $10 to create a pdf from a jpg file, but I did it so that I could edit it. Now I find out I needed a different Adobe package that would create the pdf AND let me edit it. What do I do now?

    I just paid almost $10 to create a pdf from a jpg file, but I did it so that I could edit it. Now I find out I needed a different Adobe package that would create the pdf AND let me edit it. What do I do now?

    Hi Marion,
    PDF pack is meant to convert files to pdf format, Here's the feature list : Convert Word to PDF, Convert PDF to Word & Merge PDFs | Adobe PDF Pack
    In order to Create, Convert, edit pdf files, one needs to purchase Acrobat Software, Here's a feature list of Acrobat Pro : Features, PDF documents | Acrobat XI Pro
    However, you can download a free 30 day trial of Acrobat software using the following link : https://helpx.adobe.com/acrobat/kb/acrobat-downloads.html
    Regards,
    Rahul

  • Pdf pack will not create a pdf from a tiff file    conversion failure    Why

    pdf pack will not create a pdf from a tiff file    conversion failure    Why

    Hi David Turner,
    What is the exact error message which you are facing while converting the file from .tiff  format to PDF format.
    As per my knowledge, PDF Pack supports conversion from .tiff format to PDF Format -Different File formats that Adobe PDF Pack supports.
    Regards,
    Rahul Tyagi

  • 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.

  • Mail a single page as pdf

    I have an extensive workbook that I use in communicating with members of my team. I have a weekly chart that I email to my team and it is using vlookup data from other pages in my document. The struggle that I am having is: I cannot figure out how to simply send the weekly page to my team instead of the entire workbook.
    When the information is gathered, I go to share > mail as pdf and it puts the whole workbook in pdf form in an email. I don't want that. So to make it do what I want, I have to export the entire workbook as a pdf and then go through and physically delete the unwanted pages (which are many). It seems that there should be a way to streamline this.
    I was previously using Microsoft Excel on my last Macbook Pro and it allowed me to save a single page of my workbook for emailing. That was much more handy that having to go through and delete pages.
    Is there a simple way to do what I want to do, namely, send a single page of my workbook out to my team?

    jpolen wrote:
    I have an extensive workbook that I use in communicating with members of my team. I have a weekly chart that I email to my team and it is using vlookup data from other pages in my document. The struggle that I am having is: I cannot figure out how to simply send the weekly page to my team instead of the entire workbook.
    When the information is gathered, I go to share > mail as pdf and it puts the whole workbook in pdf form in an email. I don't want that. So to make it do what I want, I have to export the entire workbook as a pdf and then go through and physically delete the unwanted pages (which are many). It seems that there should be a way to streamline this.
    I was previously using Microsoft Excel on my last Macbook Pro and it allowed me to save a single page of my workbook for emailing. That was much more handy that having to go through and delete pages.
    Is there a simple way to do what I want to do, namely, send a single page of my workbook out to my team?
    Yes, read the user guides !
    Go to the print driver.
    Define the page to print
    Print in a PDF file !
    Yvan KOENIG (VALLAURIS, France) mercredi 28 avril 2010 19:29:47

  • Page numbers from placed indd file not printing

    I've created a saddle-stitch booklet 1up in InDesign CS4. I've got auto page numbers on the master page, but when I place it in another InDesign document 2up for proofing, the page numbers are visible, but don't output either to an exported PDF or a PostScript file printed to be Distilled. Please advise.

    It's a bug. Anything on the master page of a placed INDD file just
    disappears...not good.
    Bob

Maybe you are looking for

  • HT4972 What is the disadvantges of iOS 6 in iphone 4s?

    What is disadvantages of iOS 6 in iPhone 4s?

  • Seems like a new modified url hack is back to reset passwords

    Was doing some studies. http://www.macrumors.com/2013/03/22/apple-id-security-hole-allows-password-reset -with-email-address-and-date-of-birth/ Seems this situation is back. For the past couple months, my recovery email kept getting the message about

  • AdfFacesFilter has not been installed

    hi all this WARNING always appear WARNING The AdfFacesFilter has not been installed my web.xml is <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-a

  • ABAP Object (calc) program

    hi all, i am trying to create calc i had write program it's working but not in full performence is will attach the program pls give me complete advise . regards. hari rayala. PROGRAM FOR CALC MODULE USER_COMMAND_0100 INPUT. CASE OK_CODE. **FOR NUM1**

  • Using rewire with Archibald

    I got Archibald [http://www.polyrythmic.org> and I got a big problem using it with Logic Express via reWire. I start both programs and when I switch to rewire in Archibald audio doesn't want to turn on. Does anybody use this [fantastic as for me] pro