PDF format error

When I create an invoice and do a print preview, the formatting seems okay.

However, when I download the same invoice, the formatting seems to be broken. The Letterhead disappears and an extra page is added.

Does anyone know why this is happening?

ERPNext: v11.1.5 (master)

See if this thread helps. https://discuss.frappe.io/t/pdf-email-problems-thread/11614

didn’t seem to work.

Check this V11 pdf file don't apply css and image - #40 by clarkej