PDF Printing issues - Header not appearing and Mis-alignment on Frappe ERPNext
PDF Printing issues - Header not appearing and Mis-alignment on Frappe ERPNext
·
1 min read
Frappe PDF printing issues, mis-alignment etc
sudo apt-get install -y xfonts-75dpi
sudo wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb
sudo dpkg -i wkhtmltox_0.12.6.1-2.jammy_amd64.deb
wkhtmltopdf -V
must be ( wkhtmltopdf 0.12.6.1 (with patched qt) )
Also, make user you have correct host_name in site_config ( "host_name": "https://mysite.erpgulf.com:1203", )
#ERPNextTips
Cloud support
Cloud support team provides hosting related support and technology updates. Cover technology like cloud printing, Cloud PBAX, VoIP, Kubernetes, Ubuntu, Linux etc. Contact us on support@ERPGulf.com
1 comment
Hi The version installed for wkhtmltopdf is 0.12.6.1. But if i send an email than below error is received
frappe.throw(_("PDF generation failed because of broken image links"))
Images are on letter head which is marked as default. Can you please guide me any solution?