Wkhtmltopdf large font size

Hey There,
I am getting zoomed pdf documents

please tell me if this is an wkhtmltopdf error or system error ???

(screenshot)
Regular print

Wkhtmltopdf generated pdf print

can anyone help ??

@tanuj82685 it is wkhtmltopdf error, please try this :

1 Like

Hey @Mohammed_Redha

Thanks for your prompt reply.

I have tried your suggestion, its better from earlier but its still generating tables out of page margin.

Have a look.

In pdf.py → /home/frappe/frappe-bench/apps/frappe/frappe/utils
‘page-height’ : ‘29.7cm’,
‘page-width’ : ‘21.0cm’,

and play with margins:
‘margin-bottom’: ‘0mm’,
‘margin-left’: ‘0mm’,
‘margin-right’: ‘0mm’,
‘margin-top’: ‘0mm’,

If the above won’t work, you can add:
‘zoom’: ‘1’, ← don’t use percentage, it’s a float so you can use 0.X 1.X etc.