0 Replies Latest reply on Feb 25, 2010 1:29 AM by archemedia

    amfphp and tcpdf

    archemedia Level 4

      Hi,

       

      I'd like to generate a pdf from within my amfphp service. Anyone know how to do this?

       

      simplified code:

       

      $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);

      ...

      $pdf->output('doc.pdf', 'I');

       

      This last line of code should open a new browser window and display the pdf

       

      Any idea?

       

      Dany