Skip to Content
Menu
This question has been flagged
1 Reply
2700 Views

Hello,

I have Odoo 11 Community Edition installed on my VPS. I installed it with CentOS Linux 7. When I make a quotation and want to see the pdf, it comes out with all strange symbols (see: https://imgur.com/a/zChxg3l). I have wkhtmlox-0.12.1-1.x86_64 installed.

Can anybody help me with this problem?

Thanks,
Peter

Avatar
Discard
Best Answer

Peter,

If you are missing wkhtmltopdf lib.

Execute the following commands to Debian OS (Ubuntu) 

Command 1: Get the source code of wkhtmltopdf lib.

wget https://downloads.wkhtmltopdf.org/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb 
Command 2 :  Install it

sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb



Installation of wkhtml to CentOS :  Source

yum install -y libpng
yum install -y libjpeg
yum install -y openssl
yum install -y icu
yum install -y libX11
yum install -y libXext
yum install -y libXrender
yum install -y xorg-x11-fonts-Type1
yum install -y xorg-x11-fonts-75dpi
wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2/wkhtmltox-0.12.2_linux-centos7-amd64.rpm
rpm -Uvh wkhtmltox-0.12.2_linux-centos7-amd64.rpm
---- or ----
wget http://download.gna.org/wkhtmltopdf/0.12/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
unxz wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
tar -xvf wkhtmltox-0.12.4_linux-generic-amd64.tar
mv wkhtmltox/bin/* /usr/local/bin/
rm -rf wkhtmltox
rm -f wkhtmltox-0.12.4_linux-generic-amd64.tar


Please check the active language.

Hope this may help you.
Rgds,
Anil
Avatar
Discard
Author

Perfect Anil, that worked. I had to ask my IT guy, because we have CentOS and not Debian, but works good now! Thanks!

That's great,It helped. and Yes, I need to write command for CentOS, :)

If the answer helped you please accept it.

Related Posts Replies Views Activity
1
Sep 18
1669
2
Jul 24
13934
0
Jul 24
162
2
Jan 24
3333
0
Nov 23
694