ERPNext HTML-TO-PDF Error

HTML is showing correctly but is giving error when I toggle to pdf mode.

Hi,

The message suggests that libcairo2 is not being supplied. Check to see if your operating environment has the libraries installed.

sudo apt install libcairo2 libcairo2-dev libcairo2-ocaml

Try to install this and restart the bench server

1 Like