Closed adyballa closed 10 years ago
Hello,
Thank you for this report ! I will try to reproduce your problem this week-end and come up with a solution.
Concerning the encoding, can you provide me more details ?
So it turns out using the same Html2pdf
instance multiple time is not supported. So I made a v2.0 version which provide a factory instead of some kind of singleton. The 1.0 was actually a pretty bad implementation. I also added a testcase for this issue.
Beware there are some breaking changes, does it solves your problem ?
Yes it works. btw the off-topc issue was a bug in my programm.
Perhaps I can bother you our project is not in time (its saturday :( ). I will not exaggerate. Nevermind thanks
Hello,
We use your bundle to create a few longer reports. After the first PDF we got the error: Undefined property HTML2PDF_myPdf::$h We solved by creating new Instances. Notice clone doesnt work either. We changed the method get() in your ensepar\html2pdf-bundle\Ensepar\Html2pdfBundle\Service\Html2pdf.php file like that:
By the way, we could not generate the PDF on the fly and send it via mail, because of bad encoding. That's really off-topic - perhaps you know something helpful.
Regards adyballa