Generating PDF from Microsoft Word with C#

Hello,
We have created web-based system for a customer that stores/handles Microsoft word documents and provides these to users as PDF versions. Unfortunately some problems appear with our third-party component that generates PDF from Word. Our customer has previously used Adobe Acrobat X Pro to manually generate the PDF files and is confident that the output produced this way is valid. Despite searching and reading a lot I can't find any way to determine if (and how) it is possible to automate the process of generating a PDF file from a Microsoft word file using the Adobe engine. There is a lot of SDK documentation, how to control PDF rendering in winforms applications etc. etc. All I want to do is to load an Adobe Acrobat instance, feed it with a word document and save it as a PDF on disk. From a C# app (ASP.NET). Is that possible?
Best regards
Jan Hansen

As mentioned, you can probably send the DOC file to the Adobe PDF printer to create the file. What I keep reading in your post is a legal issue. You keep mentioning being able to create the PDF on a server automatically. The server use of Acrobat is a violation of the EULA. If you are creting the files off-line for posting as has been done, there should not be a problem. However, having these created in an automated manner by the user may be an issue. Before you go much further, I would check with legal counsel about the use of Acrobat in the way you intend. If they indicate there is a problem, then your question is not needed.
Back to the issue. Try just dropping a DOC file on the Adobe PDF printer icon (you may have to open the Start>Printers to do that. See if that creates the PDF. If so, you will just need to automate that process.

Similar Messages

  • Making non-standard size pdfs from Microsoft Word 2003 on pc

    I have Acrobat 8 Professional (pc, Windows XP op system), and want to know how to make a pdf from Microsoft Word (2003) where the dimensions of my document remain as they are, a non-standard size, such as 5.5" x 8.5". All the choices of "paper size" are standard only, and if I check "Custom" and type in the non-standard dimensions, it doesn't work. In other programs, such as InDesign, I can make a pdf of any document size I want with no problems. Does anyone know how to make this work for Word on pc?

    You can create a custom page size for Acrobat.
    In Word:
    File > Print (choose AdobePDF) > Properties.
    On the Adobe PDF Document Properties tab, choose Add next to Adobe PDF Page Size.
    Type in a name for your new custom page size and type in your dimensions.
    Click Add/Modify to close that window, then select your newly created paper size from the drop down.
    Click Ok to close that window
    Click OK to print
    For future printing, you would not have to redefine the page, just choose it from the dropdown.

  • Printing to a PDF from Microsoft Word

    I need to print to a PDF from Microsoft Word. Is there any way to do so in order to have the hyperlinks in the Word document show up and work in the PDF?

    Finally found an answer. The secret is to NOT use the Print function at all, but click the Acrobat Tab in MS Word, then select Preferences and make sure the Links option is ticked, then Click Create PDF. The hyperlinks transfer that way, but not through using Print/Acrobat.

  • How to ceate pdf from Microsoft Word that contain TOC.

    I just bought Adobe Acrobat Pro for Mac.
    But I can not create a pdf with TOC from microsoft word. Both word 2011 & word 2016 preview doesn't work.
    All through the print process, no chance to set pdf property.
    I do know windows is ok. but mac doesn't work.

    Thank you very much.
    According to the compatible application table. Acrobat XI (October 2012) doesn't support any version of mac office!!!
    Why adobe sell such a product to customer???
    Acrobat 6 (April 2003)
    Acrobat 7 (January 2005)
    Acrobat 8 (November 2006)
    Acrobat 9 (July 2008)
    Acrobat X (November 2010)
    Acrobat XI (October 2012)
    Mac Office
    Office X



    x
    x
    x
    Office 2004
    N/A


    x
    x
    x
    Office 2008
    x
    x
    x
    x
    x
    x
    Office 2011
    x
    x
    x
    x
    x

  • Printing to PDF from Microsoft Word 2004?

    Greetings,
    I'm in the process of completing my masters thesis and am in need of some assistance. The guidelines for my thesis state that title pages must have a 2-inch top margin and 1-inch bottom margin. When I print to paper from Microsoft Word, everything looks great. When I print to PDF from MS Word, the 2-inch top margin changes to 2 & 3/16-inch and the bottom margin cahnges from 1-inch to 1 & 3/8 inch. Is there a reason why this is happening and is there a way to correct this? I don't want to have to go out and purchase Abobe Acrobat Pro just to print this thesis according to the graduate school guidelines.
    Sincerely,
    JBelair

    Hi rememdy111,
    Please see this post: Print to Pdf, where I've answered your question.
    Please don't hesitate to ask if you have additional questions.
    Best,
    Sara

  • Why do Certain fonts change when I convert to PDF from Microsoft word?  They start out 60s chic and end up as a standard font.

    Why do some fonts change when converted from Microsoft word to PDF?  It starts out as 60s chic and changes to standard font.

    Related to the question, I suspect you have licensed fonts that cannot be embedded. Thus, the PDF is using what it is finding to be an equivalent as well as it can guess. Did you check the font list in the PDF?

  • How to creat pdf from microsoft word

    How do I edit pdf files

    You don't.  Thats why they are saved as .pdf files to prevent changes.
    You can create PDF files form Word on windows, by printing to a PDF Virtual Printer (you can google this).
    You can create PDF files on a Mac by selecting Print, then clicking PDF on the print screen.
    You can create PDFs on an iOS device with a third party app like 'PDF Printer for iPhone'

  • Problems generating PDF from FO DOM with SVG in code.

    Colleagues,
    I am using FOP 0.20.5rc to render an FO DOM I have in a javax.xml.transform.dom.DOMResult into a PDF output stream destined ultimately for an attachment to an email. The FO DOM contains SVG generated from a JPEG image.
    If dump the FO DOM to a file and then generate the PDF using FOP from the command line I get the image in the document.
    If I pass the FO DOM to a FOP Driver in code I get the document but no image!
    I'm obviously missing some vital configuration option in code but for the life of me I can't see it.
    Any help would be gratefully received,
    Peter
    PS. Some of the code:
    Driver driver = new Driver();
    driver.setLogger(new org.apache.avalon.framework.logger.NullLogger());
    driver.setRenderer(Driver.RENDER_PDF);
    driver.setOutputStream(new java.io.FileOutputStream("c:\\temp\\out.pdf"));
    driver.render((Document)foDOM.getNode());

    Output from run with a ConsoleLogger instead of a NullLogger:
    [java] [INFO] building formatting object tree
    [java] [WARNING] Screen logger not set - Using ConsoleLogger.
    [java] [INFO] setting up fonts
    [java] [INFO] [1]
    [java] [DEBUG] Last page-sequence produced 1 pages.
    [java] [INFO] Parsing of document complete, stopping renderer
    [java] [DEBUG] Initial heap size: 2434Kb
    [java] [DEBUG] Current heap size: 2142Kb
    [java] [DEBUG] Total memory used: -292Kb
    [java] [DEBUG] Memory use is indicative; no GC was performed
    [java] [DEBUG] These figures should not be used comparatively
    [java] [DEBUG] Total time used: 781ms
    [java] [DEBUG] Pages rendered: 1
    [java] [DEBUG] Avg render time: 781ms/page
    As far as I can tell, it's not complaining about anything,
    Peter

  • How to ... Generate PDF from BexWAD Application with company Logo in header

    Hi all profis,
    I read many theories (on-line help, sdn forum, google) about creating a PDF document with pictures, logos, texts and so on, but in each of them is some "...but, limitations, only if ..."
    The easiest way, I guess is to create a BexWAD Application with item "REPORT" and "ANALYSIS ITEM".
    In REPORT - a crystal report page, is saved company logo with text
    ANALYSIS item includes data
    Via Export (into PDF) those both items has to be exported. The only topic is, how to repeat the report item on each page of a PDF document? There is a possibility to repeat column names, but not a company logos as a header.
    I will ask in general -> Does someone has a solution, how to export data from SAP BI into PDF including  Logo and Text(Company Adress) in header (which will repeat on each page) ??
    Thank you very much for any purposes. As answer I prefer a concrete suggestions, not links to on-line help.
    Have a nice day.
    Standa

    I have another idea to create a PDF file with company logo and hierarchical structure of data.
    Via Report designer, it is not possible to display data in hierarchical structure, but it is possible to add logo (picture) into header.
    Via WADWeb Application designer, it is possible to display data with a hierarchy, but a logo is not shown on each page.
    Via InformationBroadcaster, there is a possibility to add into header a free text. There is an option <PR_ONLINE_LINK> . Can I create another element (new, own one), which will contain a picture? How can I edit this element <PR_ONLINE_LINK> ? Would it be possible to add there a picture?
    Thank you
    Standa

  • How to print direct to PDF from Microsoft Word, Microsoft Email, etc.?

    Hi,
    I have just purchased Adobe PDF Pack and wonder could anyone answer the above question ie how to get the Adobe print to pdf coming up as a printer on your Print dialog box? Thanks in advance.

    Hi rememdy111,
    Please see this post: Print to Pdf, where I've answered your question.
    Please don't hesitate to ask if you have additional questions.
    Best,
    Sara

  • Generate PDF From Database

    Hi,
    I have a table in database. Table has a column. There is data of pathes of images into column. I cretaed a illustrator template and I want to generate PDF from this template with using table data in database. so, is it possible? illustrator created pdf per each image with using illustrator template.
    thanks,

    AI cannot conent directly to databases. It can only parse CSV/ XML data. You either need to export the stuff or create extensive scripts to connect to the life database using sockets.
    Mylenium

  • Live links in PDFs generated from Microsoft Word 2008?

    A couple of years ago, I was informed that my live links (bookmarks, indexmarks, etc.) in documents generated by Microsoft Word 2004 for the Macintosh did not become PDF live links in Acrobat Standard 7 because the Mac version from Microsoft Word 2004 didn't use the necessary hooks (
    i "APIs"
    or something like that) even though the Windows version did.
    Now that MS Word/MS Office 2008 for the Mac is coming out, will we be able to generate PDFs with such live links.
    Any input will be most appreciated.
    Acrobat Standard 7.0.9. Tiger 10.4.11. Dual bootable, DP MDD 1.25GHz G4 (2004), maxed out at 2GB of RAM, both Spotlight and Dashboard disabled, Photoshop primary scratch disk on dedicated 160GB internal drive, at least 100GB available on each of the four internal drives, up to 300GB on some. Counting external FW drives just over 1TB of drive space available. nVidia GeForce 7800 GS 425MHz 256 MB graphics display card. Processor napping enabled through CHUD 3.5.2.

    While this does not answer the problem of live links. (You can create them Manually, they just are not generated direct from Office Mac).
    The answer to the other question of the little annoying PDFMaker Menu (that never really worked correctly for me (took 5 minutes just to generate a 108K PDF).
    Because MicroSoft took out VBA Support on Mac side That rendered the PDFMaker menu useless because it uses VBA to work.
    So what they have done in Word 2008 is actually put it as Translator choice on the save menu. They now directly can save Word Files directly as PDF files. once you have created your file and saved it. Then go again to *Save As....* , when menu open scroll mouse down until you run across the choice PDF. select that and save. not only is it easier a 108K document can be saved in about 15 seconds or less not the old 5 minutes going through PDFMaker.
    One of PDFMaker's failings was that each step of conversion it called up Distiller which first created a .PS file. Then it checked the file. Then created the PDF file. Then checked the file again before actually writing the PDF File. Then only after checking the written PDF, would it delete the invisible PS file. Finally the PDF file was created. Naturally with all the check steps if you have a very large file could take ages.
    With word's new feature (2008) you can generate a PDF at blinding speeds.

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

  • Exporting issues from PDF to Microsoft Word

    I have a user that received a PDF document that was originally created with InDesign CS3. She wants to make changes to that document, but we don't have InDesign CS3, trying to use the Export to Word function instead. When we go to export the PDF into Microsoft Word, most of the document doesn't export, and in my case, Word crashes every time I try to open.
    My only question is this. Is that expected behavior? And if so, she'd need to get InDesign CS3 to make her changes?

    >My only question is this. Is that expected behavior?
    Probably. There are many things that can be done in InDesign that can't be replicated in Word. That could be part of the issue.
    >And if so, she'd need to get InDesign CS3 to make her changes?
    That wold be the recommended way yes. The PDF is a final product. You should always make edits to the original document rather than the PDF.

  • Problem with creating pdf from Microsoft Publisher 2013

    We are having problems in creating pdfs from Microsoft Publisher2010- When the function 'Adobe PDF' is selected and 'Print' is clicked on nothing happens. The progress bar just sits there for several minutes without creating a pdf. We have to click on cancel and when this is done this crashes Microsft Publisher.
    I have repaired this using the repair facility in Acrobat 9. I have also uninstalled Acrobat 9 and reinstalled this.
    I have also uninstalled Adobe Reader XI and reinstalled Adobe Reader 9.
    Before uninstalling Acrobat I also ran the updates but this didnt help either.
    This is on a Windows 7 PC (64-bit)
    Adobe Acroabt 9 Pro Extended
    Microsoft Publisher 2010.
    Any help is appreciated.
    Thanks

    MS Publisher 2010 is not supported by the Acrobat 9 Family; and the PDFMaker extension for Publisher has been removed completely from the Acrobat XI Family, so upgrading won't help either. Sorry!
    See http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html#main_ PDFMaker_compatible_applications

Maybe you are looking for

  • Condition Records in CRM 4.0

    Hi, I am new to CRM. can someone please tell me what the equivalent of R/3 (VK11/vk12/vk13) is in CRM 4.0. I need to be able to create and maintain condition records. The forum says that we can use t.code "/sapcnd/gcp/" for this but when i use this t

  • Media browser is NOT playing the game!

    PLEASE can someone tell me why my media browser won't show me my photos or movies! Audio is no problem (the one section i hardly use) but iWeb is NO GOOD TO ME without my photos! This has been going on for several weeks now and I am at my wits end. P

  • Can´t open iDvd 6 with any previous project

    Hi, I have a problem, I have been using the iDvd 5 for a long time, now I start to use iLife 6 and I have maked some projects in iDvd 6, and all it´s perfect, but a few days ago I opened a file project to meke a new burn dvd but for some specificatio

  • Xorg - SHIFT key bugs out randomly after TV-hardware is connected

    I'm on Xfce4. When I hold down left SHIFT key and press some other keys, after a while the SHIFT key may "unregister" itself. What I mean is, it stops working as if I had released it, although I'm still pressing it down. Ie I'm suddenly writing lower

  • SHIPMENT ON HOLD ?

    what does shipment on hold mean ? my ipad 2 is supposed to be delivered on june 2 and now june 3 it said shipment on hold ... in the philippines.. any advice or answers ?? thanks :D