Today I'd like to tell you about a simple trick, if you use TCPDF and work with HTML to PDF functionality.
Sometimes you would wish to create new page and continue your content there. Simply a pagebreak.
If you don't have the $pdf object available and want to do everything in code, you may use the
Simply add <tcpdf method="AddPage" /> to your HTML content and a pagebreak will happen!
Please leave a comment if that trick saved your day ;)
<tcpdf method="AddPage" />