Fpdf & html2pdf

superdrac wrote on Tuesday, April 01, 2014:

Hello, i saw that you develop a mix between html2pdf & fpdi classes. Unfortunately i can’t use them together correctly…

At the beggining of my program, i make a new HTML2PDF object, i can call the FPDI method by using:

$myObj->pdf->fpdimethod();

But with this, i can’t use writeHTML() for place my data at a specific place on the pdf.

As i can do with $myObj->pdf->SetXY($x,$y); -> and create an element.

Do you have any solutions ? Thank for reading.

sunsetsystems wrote on Tuesday, April 01, 2014:

Been a while since I looked at that, but see commits from Oct. 4 to 6 of 2012 for details of how the classes were modified and then used from OpenEMR. In particular this one is where most of the usage implementation was done:

Rod
http://www.sunsetsystems.com/