Hi all,
I’m evaluating ERPNext for a few days now. But for now I’m facing multiple problems regarding the PDF export (wkhtmltopdf) function.
- Hide page number
I would like to hide the ‘Page x from x’ at the bottom of the footer. I successfully hided it by commenting the following code in the /home/frappe/frappe-bench/apps/frappe/frappe/templates/print_formats/standard.html file
{{ _("Page {0} of {1}").format('', '') }}
But by doing this, I’m not allowed to update ERPNext anymore. What’s the best way to hide this without losing it every time I update? I already tried it to hide it using custom CSS codes in the Print Style / Print Format, but without success…
- I would like to change the default Sans-Serif font to Arial in the PDF export. Also without success. If this is possible, I also would like to change the footer font to yet another one.
Thanks.