Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically Convert HTML to PDF

Status
Not open for further replies.

jay123454

Programmer
Jun 15, 2001
46
US
Hi,

I'm pretty sure there's a php library that can be used to dynamically convert html to pdf, but I can't seem to find it.

I'm trying to dynamically convert a Word -> HTML -> PDF.

I've got the Word -> HTML part done using a COM object to open an instance of Word. I think save the file to the server. So I'd like to just read the file into the PHP to PDF converter and save the file to the server. Don't need to open it, just convert the HTML file to PDF and save it to the server.

Can this be easily done just using built in PHP capabilities?

thanks!
 
You could install Adobe distiller and print from your instance of word into PDF. Distiller comes in the form of a printer driver and does cost money.
Or look at the other PDF offerings like ActivePDF.
You might also want to look at XSLT-FO (formatting objects) to see if they are of any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top