I already able to set up Header and Footer.
But, my content by writeHTMLCell cannot fit into the page properly, footer is overlay the content.
using A4 size, Header is 35% height; Content is 50% height; and Footer is 15% height.
I do not know how to set the Content's height to be 50% in all page.
The solution is $pdf->SetAutoPageBreak(true, 55);
Original is $pdf->SetAutoPageBreak(true, PDF_MARGIN_BOTTOM);
Set value in PDF_MARGIN_BOTTOM will do.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With