From my limited experience with wkhtmltopdf, a solution based on paged.js should work better
But maybe that’s because I didn’t fully learn wkhtmltopdf
PrinceXML is very good but is a paid solution. I found paged.js, at least for my purposes, on par with PrinceXML