PHP Classes

generate pdf with php: i need to generate a pdf from php and mysql

Recommend this page to a friend!
  All requests RSS feed  >  generate pdf with php  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

generate pdf with php

Edit

Picture of Festa DA Silva Power by Festa DA Silva Power - 3 years ago (2018-02-10)

i need to generate a pdf from php and mysql

This request is clear and relevant.
This request is not clear or is not relevant.

-1

i need to generate a pdf with php and mysql

  • 2 Clarification requests
  • 2. Picture of Guilherme Viana by Guilherme Viana - 3 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. Picture of luis merlini by luis merlini - 3 years ago (2018-02-18) Reply

      hkjhkj

      Ask clarification

      2 Recommendations

      PHP PDF Generator from XML: Generate PDF documents from XML templates

      This recommendation solves the problem.
      This recommendation does not solve the problem.

      0

      Picture of Simone Gosetto by Simone Gosetto package author package author Reputation 55 - 3 years ago (2018-10-29) Comment

      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


      PHP ODT Template SQL Reports: Generate report from MySQL data using ODT template

      This recommendation solves the problem.
      This recommendation does not solve the problem.

      +1

      Picture of Marco Sillano by Marco Sillano package author package author Reputation 150 - 3 years ago (2018-02-19) Comment

      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.


      Recommend package
      : 
      : 
      For more information send a message to info at phpclasses dot org.