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

Similar Messages

  • Converting InDesign CS3 document to HTML - windows vista premium

    I have created a beautiful (for me) document that I want to post on several blogs. I have been told it needs to be in HTML but I do not see any options on the file menu to export as an HTML. What do I do.
    (I tried exporting it as a PDF and then providing a link in the blog but the problem is that it is a large (3mb) and it takes a "long" time to load, and if any of the links are accessed, when you go back to the PDF it has to reload which is frustrating for anybody that wants to study the document.

    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 exported an indesign file as a pdf saved to my desktop, now all indesign files on desktop are turned to pdf. HELP PLEASE

    I exported an indesign file as a pdf saved to my desktop, now all indesign files on desktop are turned to pdf. HELP PLEASE

    If you are using Mac, press Apple + I to get the information. It show a table. There is a section call Open with. Change the file with pdf icon to open with indesign. If using PC, just click on the second button on the mouse and open with Indesign.

  • Opening InDesign CS3 documents in CS4

    I am hoping someone from Adobe can help me with this question. Here is the scenario:
    I work on the support team in a prepress environment where we get hundreds of client supplied InDesign files weekly. Some clients supply their files in InDesign CS3 and some supply the files in InDesign CS4. We have both applications.
    From our experience, we have found that if we open a InDesign CS3 document using InDesign CS4, there is a potential for items to disappear in the document. I don't know what changed from 3 to 4 to cause this problem. This has happened to us more than one time and we have experienced money losses due to on press errors.
    One would say, as we have, if the document is supplied in InDesign CS3, work on it in InDesign CS3. Easy enough, right?
    Well, not really. If you have CS3 and CS4 both installed on your mac at the same time, simply double-clicking on the file will default to CS4 (since it is newer).
    We have told our operators that they need to identify what version the file was created in; which is not the easiest thing either.
    If you "get info" on the file, you do not get accurate information. It may say "CS4", even if it is "CS3", I think this is because your system is reading what the newest application that you have install is.
    I have found that by dragging the file over the CS3 icon in the doc, it will attempt to open the file in CS3 and if it truly is a CS4 document, you will get plugin errors and the file won't open. This works, but my 38 mac operators are so used to just double-clicking a file to open it, they sometimes forget to do it my way, and thats when we get errors.
    Is there a plugin available that would prompt you, when double -clicking on a file as to what version it is, or what version InDesign that you would like to open the file in?
    What did Adobe change in InDesign CS4 that would cause items to disappear or change when working on CS3 documents in CS4?
    Thank you in advance.

    First, this is a user forum, not an official Adobe support site, so you aren't talking to Adobe employees for the most part.
    Second, though it is subtle, there is a visible difference between the icons for file created in CS3 and CS4, but you do need to look.
    There is (or perhaps it's now "was") a known issue with master items disappearing when placing one ID file into another in CS4. Be sure your copies are updated to the latest patch. Another reason to avoid opening CS3 files in CS4 is potential differences in text flow due to text engine differences which will affect how lines break.
    If you want to train your people in a hurry, tell them the next time you have to re-run a job because they opened it in the wrong version you'll deduct the cost from their pay.
    Peter

  • Exporting from InDesign CS3 to PDF: Headers disappearing

    Hello all,
    I have a bit of a problem I can't seem to fix. I looked all over the support forums, documentation, etc., but haven't found anything that resembles this.
    I'm trying to create accessible PDFs in Indesign CS3 (Windows XP). I tagged everything in the document, lined them up correctly in the structure pane, mapped tags to styles, and exported to PDF with tags enabled.
    The problem is the headers (H1, H2, etc.) don't show up in the tags or content windows in the Order Panel (Touchup Reading Order) in Acrobat Pro 8. Instead, they show up with Span tags. Alt text for my images are showing up, which leads me to believe I'm doing something wrong.
    I don't get it. Am I missing a step? Is this just an oversight that CS4 solves?
    Also, InDesign's Structure pane doesn't correspond correctly with Acrobat's Reading Order. It looks to me like the Reading Order is determined by the order in which objects appear in the original InDesign document. Stuff that is sent to the back ends up at the top of the Reading Order in Acrobat. This is a big issue for screen readers.
    Any thoughts? I'm at a loss. I'd rather not retag all my headers in Acrobat.
    thanks
    Kurt

    Even so - I don't know why - but the problem is with some fonts that the Euro doesn't show.
    I always use the Euro font for the Euro symbol and never have an issue.
    Even if you do manage to get the Helvetica Euro to show up in the PDF there is a chance it can drop out at the RIP stage and not appear in print - I've seen it happen far too many times.
    Euro font is your friend.

  • How can I restore proper PDF exports from InDesign CS3 or CS5 in Snow Leopard?

    I had no problems exporting PDFs from InDesign CS3 (on a Mac Pro running 10.6.4 Snow Leopard) until this past weekend, when all the fonts appeared bitmapped or thin and raggedy, and the images lost some color depth and contrast. When I copied the InDesign document to my MacBook Pro laptop, also running 10.6.4, the PDF emerged with its original quality. Calls to Adobe support referred me to documents concerning incompatibilities between InDesign and Snow Leopard. One of these documents was several pages long, but I could not print it from the Adobe website to my HP All-In-One Officejet, because one-third of the document was hidden under a white panel. This makes the document impractical for troubleshooting, because I don't have enough screen real estate (even on a 23-inch display) to keep the document open along with all the pages and dialogue boxes needed for reference. Back to phone and chat support, I was advised to upgrade my Creative Suite Premium CS3 to CS5 ($800!!!) and purchase the latest Acrobat Pro upgrade ($200), with no guarantee that this $1,000 cost would actually solve the problem. I did download the trial version of InDesign CS5, and it did NOT solve the problem. I'm also concerned that the problem did not exist until last weekend. Prior to that, my CS3 and Snow Leopard combination worked just fine. I then checked the forums and was dismayed at the variety of problems associated with PDF files, for which there seems to be no general fix. Meanwhile, I have hundreds of ads I'm supposed to be preparing and emailing as PDF proofs to businesses around the country. I have two books of 120 and 256 pages that need to be submitted to printers in PDF format with all kinds of fonts and image files belonging to my clients. The last time I submitted a book to a printer via email, the job went perfectly. This time, and next, it's obvious I won't be able to send PDFs at all! If that's the case, my 27-year-old directory business will be unable to absorb the expenses necessary to start all over with new computers and software, and I will be out of business. Period. So-- does anyone have a way to fix this? I would surely be grateful.
    David Henderson

    I'm on a local network, built on Apple's Airport Extreme. but I'm the only computer user on it. I use it for transferring files between the desktop computer (Apple Mac Pro) and laptop (Apple MacBook Pro) and, occasionally, to print from the laptop to a Xerox Phaser printer.
    About a year ago, I added an Apple Airport Express to the network, allowing me to play iTunes music from the laptop through a Panasonic BluRay player connected to a home theatre sound system. No problems of this nature appeared with that installation.
    About four months ago, we connected a DirecTV satellite receiver system to the D-Link router that carries wired network service from the desktop computer to the Xerox printer. The satellite TV system includes a series of modems that allows DVR recordings to be accessed and played from any of the TVs in the house. (As you would now perceive, I run my publishing business from my home). However, this set-up has been functioning for about four months, and I did not encounter the PDF problem until last weekend.
    Now -- about the fonts.
    Because of the many ads that I publish from various sponsors, it is possible that different versions of the same fonts have invaded my system. In the "missing font" alerts I get, InDesign frequently is seeking TT or T1 versions, which I replace with Adobe fonts when possible. Adobe Creative Suite Design Premium included a fairly large collection, which it keeps in one folder.  The Apple OS also includes a bunch in a separate font management folder; and there are carry-over fonts that came with the business when I acquired it 10 years ago. Some of those fonts may go back 25 years to the book's inception. However, in the past several years, I have generally rebuilt all the ads that appear in my publications, substituting newer versions of fonts. Hence, the preflight program has been able to locate and include all the necessary fonts in the packages that go to the printers.
    Once again, I have been able to export good PDF files for all the varieties of ads and books included in my system, until last weekend. One of the documents is built entirely with Helvetica Narrow, for which I have only one version.. Another document consists mainly of Times, and there are 3 or 4 versions of that font in the system; but the version contained in the document has not changed from when it exported properly.
    So... I guess the complexities involved in the network and/or fonts could be part of the problem, as you suggest, but golly -- I hope not. The last thing I want to do is disrupt and rebuild the network or font collections. The font situation especially would set back production for months if not years, because so many individual ads and off-site clients would be involved in the process.
    I'm sorry if I provided more details than you expected. I didn't mean to take so much of your time.
    Thank you.

  • Export from Indesign CS3 to Illustrator CS3

    I would like to know if thre's any kind of file format that allows me to pass a documente that i've created in Indesign CS3 to Illustrator. The PDF file makes that every word in the Indesign document, became a single text box on Illustrator CS3. All the other elements, when I open the PDF file that i've created in Indesign, are grouped and when i ungrouped them they charnge (sometimes color, or other things)
    Thanks

    Illustrator is not a general purpose PDF editor. For starters it can't
    handle multiple color modes.
    If you want your artwork in Illustrator you should create it there. If
    you must get an ID file into AI format you're going to have some work to
    do depending upon the layout.
    Bob

  • How can I find the total word count in my entire Indesign CS3 document?

    I have a book that consists of 10 different files and many many different text boxes. I need to find out what the total word count is for the entire book. Is there a simple way to do this, or do I have to copy and paste all the text from InD into a word file to get the number? Your help is much appreciated.

    This AppleScript will get the total word counts of a folder of ID files—it shouldn't be too hard to convert to JavaScript if you are not using OSX:
    tell application "Finder"
    activate
    set myFolder to choose folder with prompt "Select the folder containing the files to count"
    set myFiles to every file of folder myFolder whose file type is "IDd5"
    end tell
    tell application "Adobe InDesign CS3"
    set wordcounts to {}
    set total to 0
    repeat with j from 1 to (number of items in myFiles)
    open item j of myFiles
    tell active document
    tell every story
    set wordcounts to wordcounts & (count every word)
    end tell
    set totalstories to count every item of wordcounts
    repeat with i from 1 to totalstories
    set total to total + (item i of wordcounts)
    end repeat
    close
    end tell
    end repeat
    display dialog "The documents in the selected folder have a total of " & totalstories & " stories, and " & total & " words"
    end tell
    ========================================
    If you just want the active document's count it would be:
    tell application "Adobe InDesign CS3"
    tell active document
    set wordcounts to {}
    tell every story
    set wordcounts to wordcounts & (count every word)
    end tell
    set total to 0
    set totalstories to count every item of wordcounts
    repeat with i from 1 to totalstories
    set total to total + (item i of wordcounts)
    end repeat
    display dialog "Total words in all " & totalstories & " stories: " & total
    end tell
    end tell

  • How to access indesign cs3 document through VC++

    Hello
    i am new to VC++, i need to communiacte Indesign CS3 through VC++, for this what can i do? inorder to access indesign docuemnts,
    i also need to access a Third party API for CS3 through VC++, for the two puproses, i dont have any idea, so
    kindly help me
    with regards,
    ram

    Hi ram<br /><br />As Olav has pointed out, you need to decide whether to use COM or SDK.<br /><br />SDK is hard core - and I really mean HARD CORE. I consider myself to be a reasonably good VC++ programmer, but when I tried to develop an InDesign plug-in using SDK and VC++ I was completely lost.<br /><br />However it is possible to use VC++ to control InDesign via the COM object.<br /><br />Here is what you should do:<br /><br />1) Make a new VC++ project (MFC, MFC Application)<br />2) In Wizard dialog select Dialog Based and leave everything else unchanged (simply press Next)<br />3) You now have a simple empty dialog with 2 buttons<br />4) Double-click the OK button<br />5) Insert the following code (before OnOK()):<br /><br />// COM support required for this<br />//  Call CoInitialize() to initialize the COM library on the current thread<br />if(::CoInitialize(NULL) != S_OK) return;<br /><br />// Create instance of InDesign Application<br />InDesign::_ApplicationPtr app;<br />// Use the appropriate version here<br />//  This string will be used to search the registry for the application<br />//  associated with it and the same is invoked. <br />//  If you have different builds of the same version and you want to work<br />//  with a specific build, call CreateProcess() for that build and then<br />//  call CreateInstance() so that the currently running instance is returned.<br />app.CreateInstance(L"InDesign.Application.CS3");<br /><br />// Open existing document<br />InDesign::DocumentPtr doc = app->Open("C:\\InDesign\\myDocument.indd", true);<br />InDesign::PagePtr page = doc->Pages->FirstItem();<br />InDesign::TextFramePtr textFrame = doc->TextFrames->FirstItem();<br />textFrame->Contents = "Hello world";<br /><br />6) Go to the start of the file<br />7) Insert the following code before // CAboutDlg dialog used for App About<br /><br />// Required for calling COM initialization methods<br />#include <objbase.h><br /><br />// Import InDesign's Type Library<br />#import "C:\Documents and Settings\All Users\Application Data\Adobe\InDesign\Version 5.0\Scripting Support\5.0\Resources for Visual Basic.tlb"<br /><br />8} Build and run the project (F5). When you press OK, InDesign should launch, open your document, find the first page, find the first TextFrame and replace the text (contents) with "Hello world"<br /><br />How to get in contact with your third-party API is a completely different ball game (not in the scope of this forum), but at least you now have a VC++ project with header files etc.<br /><br />If your third-party API is indeed an InDesign plug-in, I totally agree with Olav that you have to direct your questions to the SDK forum.<br /><br />Best regards,<br />Bo

  • How to learn Indesign CS3  SDK programming for windows

    Hi,<br /><br />I am very new to plugin development.I am working in Indesign CS3 SDK (windows).<br /><br />But I am not able to write /understand the syntax of InterfacePtr.<br /><br />for eg :<br /><br />InterfacePtr<IClassIDData> orgDocFileHandlerData(doc, IID_ORGICLASSIDDATA); <br /><br />We get Pointer of any Interface , and pass some arguments .<br /><br />So can anybody help how to learn this programming , I am not finding any <br /><br />books or tutorials on this so that I can read from the basic. I have only <br /><br />referred to Programming Guide(CS3). Can anybody please help/explain  me how <br /><br />to learn it?<br /><br />Thanks.<br /><br />Ravi Sharma

    It's only my way of understanding about InDesign SDK :<br /><br />* SDK objects are know as 'boss(es)' and are accessed thru interfaces.<br />* You can imagine object as collection of interfaces. And you can even aggregate new interfaces to existing objects.<br />* When you have a reference to an interface of a boss, you can access other interfaces (of the same boss - or object) using the *amazing* syntax : (here, doc is a probably an IDocument interface on a kDocBoss object, and you want to access it's IClassIDData interface)<br />InterfacePtr<IClassIDData> orgDocFileHandlerData(doc, IID_ORGICLASSIDDATA); <br />* And finally, InterfacePtr has a reference counter, which allows the framework to destroy the interface object - not the boss of course, only the memory used by the object - when it's non mre referenced.<br /><br />HTH !

  • Indesign CS3 Crashes Randomly on Windows x64, Dual Monitor Setup

    My coworker and I just had our computers upgraded Windows XP 64-bt on the following computer setup:
    Intel Core i7 920 2.66Ghz CPU
    8GB DDR3 RAM
    Gigabyte GA-EX58 Intel X58 Motherboard
    1TB Seagate ES.2 7200rpm 32MB Cache SATAII Hard  Drive
    We're running CS3. Indesign keeps crashing on her machine, randomly from what we can tell. It runs fine on my machine.
    We are running Indesign in compatibility mode for Windows XP on both machings (the crashing was much worse before we turned it on).
    The only difference between my computer and the workstation where Indesign CS3 crashes is she has a dual monitor setup.
    Any thoughts on what might be causing it?

    Thanks for the heads up.We're actually kinda banking on Windows 7 to be a bit more stable and switch to that, but it's a long few months when your program crashes every few minutes.
    I just realized that we don't have the latest update (5.0.4) on her machine, we've downloaded it and are hoping that will help to at least reduce the crashing...

  • The difference of pdf export from Indesign CS3 and other Indesign version

    Hi,
    When I am exporting pdf of an Illustrator eps file from Indesign CS2 or CS4 etc.. i am getting the proper output as its there in illustrator, but when I am loading the same Image in CS3 and exporting pdf its not producing the proper output. Here I have my screen shots.
    Cs3
    other versions
    awaiting your reply
    Thanks in advance
    Biju Mathew.

    You have to educate your customer: EPS is an outdated and lossy file type because it does neither support transparency nor color management and should be avoided to be used with InDesign or Photoshop or Illustrator.
    I don't understand, why so many insist in using EPS?

  • Can't impose my InDesign CS3 document

    Hey gang,
    I miss InBooklet.
    I used to be able to impose to a new InDesign document. In CS3, I can't.
    I now must use Print Booklet to make an imposed output. But that forces me to print to Adobe PDF; thus rasterizing the resulting PDF.
    Is there an alternative plug-in?
    Waah!
    Mike Witherell in Washington DC

    Hey Bob,
    >The stock question is still...Why would you want an imposed InDesign document?
    It is really for the office user; not the commercial printer. They want to take the job to impose, print, fold, and finish ... themselves. Or else, they simply want to make a dummy copy to supply with the files to the commercial printer. Nowadays, you know, you can make color-accurate dummy copies. Your inkjet or Xerox can do faithful color equal to the inkjet proof the printing company is going to hand back to you.
    Peter, you can parse it fine, if you want, but in CS3, I have fewer options than I had in CS2. Going forward, I want more, not less. And there is always the "odd" scenario out there, even if most of the time it doesn't make a difference.
    Mike Witherell in Maryland

  • (on Snow Leopard) Can't open a Indesign CS3 document by clicking an icon!

    I just install Snow Leopard on 3 Mac today and they all have the same problem now. We can't open an CS3 Indesign document by double clicking an icon. We have to go into the tool bar (open--» document).
    When I try by double clicking, this window now appear :
    http://i16.photobucket.com/albums/b48/avanos68/Capturedcran2010-01-12171102.png

    Just for your information.
    Rorohiko Ltd. has just released a new version of Soxy, which lets you do just this.
    If you don't know what Soxy does, here is a brief description:
    There’s a common problem when there are multiple versions of applications like Adobe® InDesign®, QuarkXPress®, Adobe Illustrator®… installed on the same computer.
    Double-clicking a file’s icon will often cause the wrong application version to launch. As a result, you might unwittingly re-save a document into a more recent file format, which could be a bad thing. Maybe it’s a customer file, and the customer might not be able to open the updated file when you e-mail it back to them.
    Soxy acts like an interceptor when opening documents and redirects the files to the appropriate applications of your choice.
    Our latest version has an option in the preferences that lets Soxy override the Finder's behaviour when there are '#' characters in an InDesign file name.
    You can download our latest version of Soxy from the Rorohiko website:
    http://www.rorohiko.com/soxy/

  • Indesign CS3 will not launch - windows 7

    Hi,
    I tried starting indesign last night but when I clicked on the launch icon on my task bar the icon glows I get the egg timer thing but nothing happens. I restarted the computer and it worked ok.
    Then I tried it this morning and the same problem occured, however no amount of restarted helped this time. Windows did do some updates last night, but it seems that the problem was there before. I've searched on the internet and found a peice saying to restart in safe mode and launch it there, then flick back to standard mode and it should be ok.
    When I did this the indesign loads but with a Error 148:3, and closes. Restarting, in standard, nothing has changed. I did some digging on the 148:3 problem and found an adobe fix, this has not worked either.
    I have done nothing to the computer recently other than attach a new monitor (and can't really beleive that would be the cause)
    I running windows 7 with the latest update.
    Can anyone help?
    Thanks

    Hi,
    I am happy to announce that the problem has now been fixed between Rapport & CS3.
    You can download the latest version of Trusteer Rapport (with the fix) here:
    http://download.trusteer.com/Gcur4Wtnu/RapportSetup.exe
    Warm regards
    Trusteer Support

Maybe you are looking for

  • How can I get the information to sign in my icloud account

    I cannot get into my icloud account. when the account had been set up the email address is wrong and I can't change it or can I change my apple id email address?

  • How to add a new column in a report

    Hi all, I originally created a report with form. Then I want to add another column to it, but the column added wont display automatically in the report, instead you have to go to "action" and manually add the column so it can be diplayed in the repor

  • Connecting a Mac Pro to an LCD HDTV

    It seems that LCD monitors don't come as big as LCD TV's, and I want to use my Mac Pro to watch movies and gaming. A Samsung 35T (30") costs around 1200$ where a 46" lcd HDTV costs about the same price. There is a card you can buy for the Mac Pro whi

  • Downloaded latest icloud update and now get this "apple outlook dav config has stopped working"

    Downloaded latest icloud software update on my PC and now icloud does not work with Outlook. It wiped out my contacts list. During numerous attempts to set up icloud get this error message "apple outlook dav config has stopped working"  Apart from th

  • Keynote formatting and sound assignments

    I have two questions: 1. can Keynote prepare a presentation for both the 16x9 and the large 30' x 10' screens now used in many schools and venues? I know that Power Point can, but am working in Keynote and would prefer to stay in there... 2. Can a so