Closed satishsharma-riseandinspire closed 3 years ago
Hi, Below is my code:
$mpdf = new \Mpdf\Mpdf(); $mpdf->SetHTMLHeader($document[0]['header_content']); $mpdf->SetHTMLFooter($document[0]['footer_content']); $mpdf->setAutoTopMargin = 'stretch'; $mpdf->setAutoBottomMargin = 'stretch'; $mpdf->autoScriptToLang = true; $mpdf->autoLangToFont = true; $mpdf->WriteHTML($html); $mpdf->Output();
But, when converting pdf the header overlapped with content. stretch is not working.
mpdf (2).pdf
Thanks
Hi,
You have closed my issue without any suggestion. kindly provide a solution.
https://github.com/mpdf/mpdf/blob/development/.github/CONTRIBUTING.md
Mainly, note that you are in a completely incorrect repository.
Hi, Below is my code:
$mpdf = new \Mpdf\Mpdf(); $mpdf->SetHTMLHeader($document[0]['header_content']); $mpdf->SetHTMLFooter($document[0]['footer_content']); $mpdf->setAutoTopMargin = 'stretch'; $mpdf->setAutoBottomMargin = 'stretch'; $mpdf->autoScriptToLang = true; $mpdf->autoLangToFont = true; $mpdf->WriteHTML($html); $mpdf->Output();
But, when converting pdf the header overlapped with content. stretch is not working.
mpdf (2).pdf
Thanks