The HTML converter that creates the PDF supports detecting HTML page breaks.
Supported page breaks:
- page-break-before: always
- page-break-after: always
<body>
This is the text for page #1.
<p style="page-break-before: always;">
Page #2...
<p style="page-break-before: always;">
Page #3...
</body>
</html>