Help Me/Question Php Code 2 Convert .doc File Into .pdf File

Status
Not open for further replies.
J

jeephp

Hello Friends,

I need to convert the DOC (WordFile) in to PDF through PHP code in my web. According to requirement whenever the user upload the .Doc file code should convert that .Doc file into .PDF file at runtime.

I have tried by using PDFLib and FPDF functions but when the .Doc file contains the images,tables etc. either FPDF or PdfLib being falied to generate PDF file

I am using Linux-PHP-MySQL Technolgoies for development.

I am expecting suggestions and help from expert friends who can help me out to achive this.

Thanks!
 
C

clau

I have tried the same thing and I think that these functions are made to convert only the text and not the images and tables. Images are in different format than documents so when the function parses the document it is bogged down at the image.
 
Last edited by a moderator:
L

leobonnafe

Hi jeephp and clau

A very easy way to convert DOC to PDF with PHP on Linux or Windows is phpLiveDocx. Take a look at phpLiveDocx.org - it does exactly what you want.

Regards,

Leo
 
Status
Not open for further replies.
Top