I'm using ABCpdf to generate a PDF of an HTML page. What I need is to break a table's last rows which can't fit into a page instead of the table skipping into a completely new page. I've attached a screen shot here.
Asked
Active
Viewed 1,558 times
2 Answers
0
The easiest way to do this is to use Gecko engine with ABCPdf. I think the Gecko Engine was added in version 8 or so.
Also see: Page break when HTML to PDF with AbcPdf
0
Add the following line to your HTML to cause a page break.
<div style="page-break-before:always"> </div>

TheAlbear
- 5,507
- 8
- 51
- 84