I was able to generate the ticket on my site along with the BoletoPHP project, and the bank's data.
Now, when it's going to print to CHROME it goes out with the wrong barcode, that's until a reported issue: link .
Curious fact is that it's just in chrome. Thinking of an alternative, I thought of Save to PDF, and then opened by Acrobat and it worked.
How can I, when generating the PDF on the page in PHP already download the file as a PDF instead of just displaying it? If this is not possible, if anyone has any other ideas / viable alternative and that helps I thank