tecnickcom / TCPDF

Official clone of PHP library to generate PDF documents and barcodes
https://tcpdf.org
Other
4.22k stars 1.52k forks source link

Aligned after new page #558

Closed tspaolorus closed 1 year ago

tspaolorus commented 2 years ago

Hello, i have the following problem. I create the whole document in html and then send it for the creation of the pdf through the command "$ pdf-> writeHTML ($ html, TRUE, FALSE, TRUE, FALSE, '');" The page jump is done automatically with the command "$ pdf-> SetAutoPageBreak (TRUE, $ margins ['bottom']);". After the header of the second page, an amount is printed with the alignment on the right. But on the second page, after the header, it is printed at the beginning of the line not using left alignment. The same printed data, not as the first data after the header, is printed and aligned correctly on the right. Thank Paolo

williamdes commented 1 year ago

did you find a solution?