Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Anybody aware of a piece of software which could do MS Office .doc to .pdf conversion for me?

I already tried OpenOffice but it appeared to be rather slow and resource-hungry for large documents.

share|improve this question

migrated from stackoverflow.com Feb 26 '10 at 15:57

This question came from our site for professional and enthusiast programmers.

show 1 more comment

24 Answers

If you have MS Office 2007, you can use the Save as PDF plugin.

http://www.microsoft.com/downloads/details.aspx?FamilyId=F1FC413C-6D89-4F15-991B-63B07BA5F2E5&displaylang=en

share|improve this answer
2  
With the latest service it is no longer a plugin- it is now provided out of the box –  RichardOD Dec 3 '09 at 16:04
add comment

PDFCreator is a free print-to-pdf tool based on ghostscript. It's fairly good, although the output of Acrobat Distiller tends to be a bit nicer.

share|improve this answer
add comment

If you want to do it programmatically and you're a .NET or Java programmer, you could use Aspose.Words in combination with Aspose.PDF.

It worked well for me.

EDIT: It seems that using a recent version, you only have to license Aspose Words.

share|improve this answer
2  
These days Aspose.Words can do Microsoft Word document to PDF conversion alone, without using Aspose.Pdf. You only need one product and it works more precise. –  romeok Jan 20 '10 at 9:30
show 2 more comments

I regularly use - and recommend - PrimoPDF, which is available in both free and paid-for incarnations.

share|improve this answer
add comment

Office 2007 has a free PDF export Add-In available here

share|improve this answer
add comment

Adobe Acrobat for money

OR

CutePDF for free, and it's great!

share|improve this answer
add comment

I personally use PDF 995, a free pdf-printer :) works great

share|improve this answer
add comment

And no one mentioned openoffice with built in PDF saving support?

share|improve this answer
show 2 more comments

If you want to do it programatically take a look at my response here:

Convert DOC to PDF -- http://stackoverflow.com/questions/218556/send-document-to-printer-with-c#221818

This is code I currently use and it works very well. It will handle anything that Word will open such as .doc, .docx, .rtf etc.

Also, if you have many files to convert you can write you code such that Word is opened once in the background and files are subsequently opened, converted and closed, works very fast and I've had no issues with crashing etc. even when converting thousands of files at a go.

share|improve this answer
add comment

Hey, look what I found. http://www.phplivedocx.org/2009/02/06/convert-doc-to-pdf-in-php/

PHPLiveDocx is a document creation program in php. It can be used to convert Doc to PDF. I've not tried it yet myself, but I certainly shall be experimenting with it soonish.

share|improve this answer
add comment

In the past I've tried different approaches. But now I'm fine with Microsoft Office Word 2007 and the SaveAsPDF-Addin. I've recorded the "save as pdf" process as macro and refined it a bit. Here is my current version:


Sub UpdateAndPDF()
' Update page header

    If ActiveWindow.View.SplitSpecial <> wdPaneNone Then
        ActiveWindow.Panes(2).Close
    End If
    If ActiveWindow.ActivePane.View.Type = wdNormalView Or ActiveWindow. _
        ActivePane.View.Type = wdOutlineView Then
        ActiveWindow.ActivePane.View.Type = wdPrintView
    End If
    ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
    Selection.WholeStory
    Selection.Fields.Update
    ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument

' Update document (like F9)

    Selection.WholeStory
    Selection.Fields.Update
    WordBasic.AcceptAllChangesInDoc

' create PDF

    PDFFilename = (Replace(ActiveDocument.FullName, ".doc", ".pdf"))
    ActiveDocument.ExportAsFixedFormat OutputFileName:= _
        PDFFilename _
        , ExportFormat:=wdExportFormatPDF, OpenAfterExport:=False, OptimizeFor:= _
        wdExportOptimizeForPrint, Range:=wdExportAllDocument, From:=1, To:=1, _
        Item:=wdExportDocumentContent, IncludeDocProps:=True, KeepIRM:=True, _
        CreateBookmarks:=wdExportCreateHeadingBookmarks, DocStructureTags:=True, _
        BitmapMissingFonts:=True, UseISO19005_1:=False

' Close Word

    ActiveDocument.Save
    Application.Quit
End Sub

With the macro option of word I can use this macro in the command line for automation purposes. e. g.

"c:\Program Files\Microsoft Office\Office12\WINWORD.EXE" wordfile.doc /mUpdateAndPDF 

If you want to use it for several documents in a batch file, you can try this:


@echo off
SET WORD="c:\Program Files\Microsoft Office\Office12\WINWORD.EXE"
FOR %%f in (*.doc) do %WORD% %%f /mUpdateAndPDF

share|improve this answer
add comment

You could use online service like one at http://www.freepdfconvert.com No need to install any software.

share|improve this answer
add comment

Same as Stu Mackellar, I use primo pdf and am very happy with it. Some don't like that the free version converts hypertext links to text, but I am OK with that.

-- mike

share|improve this answer
add comment

If you're just doing it occasionally, you can use Zamzar.com to do all sorts of conversions.

TRiG.

share|improve this answer
add comment

I have researched this market extensively and Aspose.Words is worth considering. It does a good job and is 100% .net, but if you are after perfect fidelity (Aspose doesn't render footnotes, limited text flow and floating objects) then the only option you have is to automate Office directly, which is a pain on the server, or use a product that has done all the hard work for you such as the Muhimbi PDF Conversion Service that runs on a server and can be called using a web service.

Full disclosure, I work for Muhimbi (which is why I have researched the market so extensively).

share|improve this answer
add comment

Aspose.Words has been mentioned above. I just want to add the most recent info.

Aspose.Words now converts to PDF by itself (you previously needed Aspose.Words + Aspose.Pdf). One component to use is better than two.

One of the benefits you get with Aspose.Words is that you can get the same great looking documents not only in PDF, but in XPS, render pages as images and even print documents.

I'm on the Aspose.Words team.

share|improve this answer
show 2 more comments

I havent looked at the built in PDF features in the last couple of years, but you can use office automation to print to a PostScript Printer driver, which can be be setup as a printer. This creates a PostScript(PS) File which can be converted to PDF using GhostScript.

share|improve this answer
add comment

I am using doPDF, really great and it doesn't popup any adds like PDF 995

share|improve this answer
add comment

Office 2010 and above can save the file as pdf without any plug-in. Office 2013 can even open and edit the pdf file (of course if the file has not been protected from editting)

share|improve this answer
add comment

See this question for the C# code to a free Word to PDF converter.

share|improve this answer
add comment

protected by Gnoupi Jul 14 '10 at 7:19

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.