Convert Word .Doc to PDF with php~?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
catte
Forum Newbie
Posts: 1
Joined: Wed Jan 24, 2007 7:23 am

Convert Word .Doc to PDF with php~?

Post by catte »

Hi everybody! :o

Right now I am doing a website which could read a .doc file and convert that to pdf file. I just started, so...I did some google search but cant find any good solutions. The PHP inherent pdf library or other things as FPDF can only create or modify pdf files but not for convertion (expecially not for a windows word file conversion)...
Is there any idea on how to do that?

Besides, I am pretty new in the PHP field, but I have some programming expericen before(mostly C or Cplus). Is there any good tutorials or stuff you guys recommend?
Thanks in advance! :P
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

This is the closest I've ever found: http://phpclasses.goodphp.com/browse/package/388.html

Problem is that it needs to communicate with word via a COM object, so you need run this from Windows
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

There are freely available, downloadable printer drivers that write PDF files.
Post Reply