I am using OpenHtmltoPDF and its generating PDF files
The problem that I have is, it is not creating new pages
I tried including the below html, but they didn't work
<div style = 'display:block; clear:both; page-break-after:always;'></div>
<div style='display:block;page-break-before:always;'></div>
The same code however creates new page in this sandbox site they have
try to use the same code . You need create "div" before your page break, I think this is your solution.