There is problem while converting the invoice to pdf

format is not coming properly. Could you help me?


Please check the version of wkhtmltopdf by following command on server:

wkhtmltopdf --version

Please make sure you have wkhtmltopdf 0.12.6 (with patched qt), if not please install the qt patched version.

You can install the qt patched version by following commands:


tar xvf wkhtmltox*.tar.xz

sudo mv wkhtmltox/bin/wkhtmlto* /usr/bin

sudo apt-get install -y openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig


1 Like