- Posts: 1
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Hi tammo, in one of my plugin, i use tcpdf BUT with $pdf->writeHTML : i take the HTML from a question text, and add some basic css. (example from tcpdf website : www.tcpdf.org/examples/example_054.pdf )tammo wrote: Probably your problem has been solved, but just as a reminder for people that landed on this page through a search engine:
since the PDF output from LimeSurvey is a bit hard to alter, we use MPDF implemented in the backend. This works great, but you have to do some styling yourself.
www.mpdf1.com/mpdf/index.php
On behalf of Tammo: margins, padding and positioning are an oldie in mPDF. They practice what they preach: mpdf1.com/examples/new_features_4_0.pdf (page 3).DenisChenu wrote: I don't have a good css margin/padding/position system but it work good.
css padding and margin are used with mpdf ?
Hi,JanE wrote: On behalf of Tammo: margins, padding and positioning are an oldie in mPDF. They practice what they preach: mpdf1.com/examples/new_features_4_0.pdf (page 3).
Or a little bit more recent: mpdf1.com/examples/mpdf54demo.pdf