Trouble with PDF format when downloading as PDF


I have a bit of trouble regarding downloading ERPNext documents as PDF (invoices, delivery notes, sales orders, etc).
When I try to download a document as a PDF, the PDF format (font, size, etc) doesn’t look very good and I can’t use it like that (as shown below).

The solution that I have found is to click on Print and then Save as PDF. The PDF format when you click Print is much much much better.

My question is, is there a way, to configure the PDF format of ‘saving as PDF’ documents so that I can use the API and download documents automatically.

Thank you


Yes, It can be done by creating Customize Print Format.
Refer the Documentation -