By: Hameed
Date: 2011-06-21
Time: 15:41
|
Exporting generated docx files to PDF
Hi therem
I can successfully generate docx with data merged from php. It works very nicely. But I wonder is that possible convert the generated docx to a pdf.
Please help.
Thanks,
Hameed
|
By: Hameed
Date: 2011-06-23
Time: 06:07
|
Re: Exporting generated docx files to PDF
Hi there,
Any idea on this please?
Thanks a lot!
Hameed
|
By: Skrol29
Date: 2011-06-23
Time: 11:09
|
Re: Exporting generated docx files to PDF
Hello,
Since now, I've haven't found any solution to convert DocX to PDF under PHP, neither with OpenDocument files.
According to StackOverflow, no one has the solution.
The only good solution for now is to use Ms Office or OpenOffice installed on the server.
|
By: kle_py
Date: 2011-06-23
Time: 14:08
|
Re: Exporting generated docx files to PDF
would not be an option to prepare a seperate "template" using fpdf library or similar, and offer the user an alternative download link for a pdf file ?
|
By: Hameed
Date: 2011-06-23
Time: 14:17
|
Re: Exporting generated docx files to PDF
Hi there,
Thanks for your replies. Earlier I had researched through google and end up with having to install OpenOffice (in Windows). In Linux we have to install OpenOffice libraries and configure the service and use python script to get the job done but I wanted do this just through plain php libraries.
I actually wanted to not have two versions docx/xlsx and pdf. Instead just use the docx/xlsx and auto convert it to PDF as well.
Thanks,
Hameed
|
By: Skrol29
Date: 2011-06-23
Time: 23:52
|
Re: Exporting generated docx files to PDF
> would not be an option to prepare a seperate "template" using fpdf library or similar
This is too difficult. OpenTBS create a DocX by merging a template. While FPDF is creating a PDF by drawing it.
|
|
Posting in progress.
Please wait...
|