pistacchio
pistacchio

Reputation: 58903

C# free Doc 2 PDF solution

would anyone suggest a free solution to programmatically convert Office documents (mostly .doc) to PDF in the form of a .NET library or a command-line application i can call from my program? Thanks

PS: I know I can use SaveAs PDF in newer versions of Office, but some of the clients where the program will run still have older versions of Office.

Upvotes: 1

Views: 2647

Answers (2)

Will Marcouiller
Will Marcouiller

Reputation: 24132

Won't GhostScript (GhostScript Website) do that for you? Otherwise, I think, under reserves, that PDFSharp might do it. If these won't do, I hope that this one will: PDFCreate. In fact, after a closer look, if Ghostcript won't do, I would perhaps consider trying PDFCreate as it provides some sample code on the wbesite I linked for it.

You might also want to consult Wikipedia on the topic: List of PDF software

Upvotes: 1

Cody C
Cody C

Reputation: 4807

You can maybe use something like PrimoPDF which basically installs a printer that when you print to it, creates a PDF document. I've never actually called it command line but since it's just another printer, any standard print code would work.

Cody

Upvotes: 0

Related Questions