Recommend this page to a friend! |
All requests ![]() |
> | generate pdf with php | > | Request new recommendation | > | ![]() |
> | ![]() |
by Festa DA Silva Power - 7 years ago (2018-02-10)
0 | i need to generate a pdf with php and mysql |
2. by Guilherme Viana - 7 years ago (2018-02-22) Reply
// USE PD4ML PHP wrapper
if(strpos(php_uname(), 'Windows')!==FALSE)
{
$cmdline = "java -Xmx512m -cp $JAR Pd4Cmd \"$urlHTML\" 800 -insets 25,20,20,0,pt A4 -out $PDFSAVEFILE";
}
else
{
$cmdline = "java -Xmx512m -Djava.awt.headless=true -cp $JAR Pd4Cmd \"$urlHTML\" 800 -insets 25,20,20,0,pt A4 -out $PDFSAVEFILE 2>&1";
}
passthru($cmdline);
1. by luis merlini - 7 years ago (2018-02-18) Reply
hkjhkj
+1 |
This package can generate PDF documents from XML templates. It can take as parameters a XML file with the definition of reports and some template values. The class can generate a PDF document using the FPDF library |
+1 |
They are many PHP library for PDF (you can find it using google, "PDF PHP") but with all you must build the document in the PHP code!. Using odtReportSQL, you must only create a template using OpenOffice, and the SQL queries to popolate/update your template. No PHP code required. The result is a document (any format, any page number) updated from mySQL, that you can open in Open Office and export in PDF. This class can handle many documents, and generates the HTML UI for documents production. |
1. by huss husss - 1 year ago (2023-09-17) Reply
good
Recommend package | |
|