WKhtmltopdf config

Hi,

I recently did a fresh Install of ERPNext on a CentOS server. I didn’t realise until I actually had to use it, that I forgot to install WKHtmlToPdf.

I did a quick yum install wkhtmltopdf, and the pdfs are being generated now.

BUT, the output is pushing the content off the page. I.e., If the top of the page is 0px, the top of the content is at -100px.

Is there any way to fix this?

Thank You in advance!

Please check your PDF Page Size on Print Settings.

Hi,

I downgraded WKHtmlToPdf to 0.12.1 and that fixed the problem.

Thanks for your reply