Issue with blank page added at the end of a PDF

I have a problem with a custom Print format when processing a custom Doctype to generate a PDF.
All styles are applied correctly, but a blank page is added at the end of the PDF.

How I can avoid this?

1 Like

I have the same issue here.

ERPNext: v11.1.14 (master)
Frappe Framework: v11.1.14 (master)

In my case, I discovered that the problem originated from the size of an image that I use as a template for my custom Print format. Changing the size of the image to the appropriate measurements will cause an additional blank page to not appear at the end of the PDF.

What is the appropriate size, may I ask?