Skip to Content
Menu
This question has been flagged
2 Replies
4426 Views

I installed wkhtmltopfd 0.12.1.3 on Ubuntu 18.04 LTS as the following in this post 

https://www.odoo.com/forum/help-1/question/ubuntu-18-04-lts-how-to-install-wkhtmltopdf-0-12-1-134198 

sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb
sudo dpkg -i wkhtmltox_0.12.1.3-1~bionic_amd64.deb
sudo apt-get install -f
sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin
sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bi

after doing the above steps, it works for odoo modules 

except for inventory/porduct printing it return the error below

Wkhtmltopdf failed (error code: -8). Message: b''

please advice  

Regards

Ahmed



Avatar
Discard
Best Answer

Please refer the solutions form https://stackoverflow.com/questions/53407600/wkhtmltopdf-failed-error-code-8-message-b-odoo-12

Avatar
Discard
Author Best Answer

Thanks , it a matter of missing font , 

Solved

Avatar
Discard