There is problem while converting the invoice to pdf

format is not coming properly. Could you help me?

Hi,

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:

wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.6/wkhtmltox-0.12.6_linux-generic-amd64.tar.xz

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

Thanks,

1 Like