php - TCPDF multiple pages not display properly
one text
Solution:
You have to put a break line after page data. I have got the success to added this line below of the last html tag.
<br pagebreak="true"/>
Hope it will be helpful for you.
Source