0

we are building a PHP script that we need at work to create reports in PDFs

the reports will be created by using templates from postgrSQL.

so far I found that it can be done with the use of php and odt (openoffice) files [http://www.odtphp.com/] (do you have any other suggestions?)

now how I can convert the results to PDF so teachers will get the final reports as PDF

any tips? the server has no GUI and I want to make it as simple as possible

we tried using PHP to PDF directly with FPDF [http://www.fpdf.org/] but it is really a CPU killer!

Cœur
  • 37,241
  • 25
  • 195
  • 267
Data-Base
  • 8,418
  • 36
  • 74
  • 98

1 Answers1

1

http://www.artofsolving.com/opensource/pyodconverter

this may help you, it needs to start OpenOffice as service, and the python script is merely utilizing its api, maybe you can write one in PHP too

number5
  • 15,913
  • 3
  • 54
  • 51