İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
8030 Görünümler

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
Vazgeç

it works !


Many thanks Yenthe.

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

En İyi Yanıt

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
Vazgeç

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Mar 25
1885
1
Mar 25
2017
2
Tem 24
4523
1
May 24
2960
2
Şub 24
3736