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

Hello,

i just release installation of Odoo 11 and install wkhtmltopdf. Is installed on Ubuntu 18

Now, when I click to "print" for get the PDF, is downloaded by PDF viewer say me that page is empty.

I think it's parameter to manage on wkhtmltopdf, but see which parameter and where I have to modify it.

Any advice ? 

Thanks a lot

Avatar
Discard

it works !


Many thanks Yenthe.

You're welcome! Don't forget to upvote/accept an answer if it has helped you. :-)

Best Answer

Hi David,

The wkhtmltopdf download packages for Ubuntu 18.04 or not by default working and enabled. You can resolve your issue with the following commands:

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/bin

Afterwards restart your Odoo service and you should be able to print the PDF out fine..

P.S: Original answer was made at https://www.odoo.com/nl_NL/forum/help-1/question/ubuntu-18-04-lts-how-to-install-wkhtmltopdf-0-12-1-134198

Regards,
Yenthe

Avatar
Discard

I tried out the way you posted but it throws an error unable to resolve host address ‘builds.wkhtmltopdf.org’

Related Posts Replies Views Activity
2
Jul 24
2930
1
May 24
746
2
Feb 24
2194
0
Jun 22
1562
0
Oct 21
1568