I am generating reports using HTML and I am using CSS to control the page breaking using page-break-after, etc. I have given the user the option to print multiple reports at onc
The following snippet will produce; a print page break before each h2 on the page.
h2
extracted from here