I'm dynamically generating PDFs with an unknown page count. mPDF is working good, but the top margin on the second page is gone. How can I set the margins for all pages with the document?
I've tried the following, but it has no effect:
$mpdf = new mPDF('', '', 0, '', 15, 15, 15, 15, 8, 8);