1

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.

Glorfindel
  • 21,988
  • 13
  • 81
  • 109

2 Answers2

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.

see: Gecko Engine Information

Also see: Page break when HTML to PDF with AbcPdf

Community
  • 1
  • 1
malkassem
  • 1,937
  • 1
  • 20
  • 39
0

Add the following line to your HTML to cause a page break.

<div style="page-break-before:always">&nbsp;</div> 
TheAlbear
  • 5,507
  • 8
  • 51
  • 84