Re: Word file to PDF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Kevin,

You might want to try this:

Run PHP on a windows platform that has MSWord and the PDF printing libraries
installed. Use PHP's COM support to load an MSWord object and see if you can
get it to load the word document and print it out as a PDF file. Once it is
printed to the file, you can use PHP to read the file and do whatever is needed
from here.

I've never tried it with PHP, but with experimentation and research you should
be able to make it work. I know that where I work we convert MS Word, Excel,
and other kinds of documents to PDFs automatically using this method, though I
think the appliaction than controls everything is written in C.

Parsing and MSWord file manually with images et al, then reliably converting it
to a PDF document... Yikes, if anyone can do this, you're my god.

Best of luck, let us know what solution you come up with.

-KBear

Original Message:

Hi there,

How can I convert a Word file (*.doc) to PDF file? Are there any libraries
available?

Can you give me some hint how can I do that?

Thanks.

Kevin.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux