Closed Chousse closed 5 years ago
This can happen because there is a big margin or padding at the bottom of the HTML after rendering. I think you should try to preview the HTML in your browser first and try to see if you can spot some anomalies at the bottom of the final document.
Here is a working example.
Cheers 👍.
Hi, When I generate a pdf file fromData with payload("some HTML") I have more than 17 pages (16 blanks) but my HTML fit normally in a A4 document. Is it possible de restraint the number of pages ? Thanks