salida mpdf
$mpdf->Output($filename, \Mpdf\Output\Destination::FILE);
//send the file inline to the browser.
\Mpdf\Output\Destination::INLINE, or "I"
//send to the browser and force a file download.
\Mpdf\Output\Destination::DOWNLOAD, or "D"
//save to a local file
\Mpdf\Output\Destination::FILE, or "F"
//return the document as a string
\Mpdf\Output\Destination::STRING_RETURN, or "S"
MeVyom