1

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.

Alexis Pigeon
  • 7,423
  • 11
  • 39
  • 44
pistacchio
  • 56,889
  • 107
  • 278
  • 420

2 Answers2

1

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

Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
0

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

Cody C
  • 4,757
  • 3
  • 29
  • 36