(05-12-2020, 09:26 AM)vitnibel Wrote: Before outputting data to the browser, you need to set the correct type of content. PHP Code:$this->response->setHeader('Content-Type', 'application/pdf');$mpdf->Output();
$this->response->setHeader('Content-Type', 'application/pdf');$mpdf->Output();