I have a problem with a pdf generated with the mPDF library, I need to change the orientation of the page from vertical to horizontal ... can someone help me?
I have a problem with a pdf generated with the mPDF library, I need to change the orientation of the page from vertical to horizontal ... can someone help me?
Facíl:
$mpdf = new \Mpdf\Mpdf(['orientation' => 'L']);
By default it is P (Portrait / Verticar).