One of the issues that I have stumbled upon while working on wkhtmltopdf is are the page-break-after css style doesn’t get applied on the generated PDF.
I was using this code
@media print { .new-page { page-break-before: always; } }
the simple splution to this is to not include the css style under the @media print styling, so just add the css style on your general css along with your other css styles!
.new-page { page-break-before: always; }