0
I receive a URL of a billet generated in ASP, use the mPDF class to send this billet to the server, recover the generated billet and send by email with Phpmailer. What happens is that in gmail the barcode of the boleto is different from when I access directly through the URL
AN EXAMPLE OF THE ASP BILLET BARCODE
BOLETO BAR CODE GENERATED WITH mPDF
these are the same boletos, but with different barcode. Follow an example of the code where I accept the boleto with mPDF:
$location = '/usr/local/se/web/wwwroot/temp/';
$url = file_get_contents($path);
$mpdf = new \Mpdf\Mpdf(['mode' => 'utf-8', 'format' => 'A4', [197, 296]]);
$mpdf->allow_charset_conversion = true;
$mpdf->SetDisplayMode('fullpage');
$mpdf->writeHTML($url);
ob_clean();
$pathArchive = $location . createRandomOID() . '.pdf';
$mpdf->Output($pathArchive);
return $pathArchive;
any tips on how to fix it? I’ve read the mPDF documentation and nothing has been resolved.