Print format and paper sizes

I need different doctypes to generate pdfs in different sizes. There is a Print Setting where we can set paper size but it applies globally.

Is there a way to set different paper size for different print formats ?

For: ERPNext v13 and v14

Using print formats you can apply custom css styles to get it.

Take a look here:

https://frappeframework.com/docs/v14/user/en/desk/printing#custom-css

Hope this helps.

1 Like

Hi, Thank you for your time.

I tried to do this using custom css. But all I got was A4 paper with huge margins and texts in the middle in the preview which expanded to take full A4 size when converted to PDF.