Welcome to PotatoCommerce - Top Quality Magento Extensions Store

HomeBlog › How to install Wkhtmltopdf

How to install Wkhtmltopdf for "Invoice Customizer"?

Posted on 14 June 2016

What is Wkhtmltopdf?

Wkhtmltopdf is an open source command line tool to render HTML into PDF using the Qt WebKit rendering engine. It is used by used by Invoice Customizer extension for Magento.


How to install Wkhtmltopdf?

Step-by-step installation examples for CentOS (versions 6.7 and 7) and Ubuntu operating systems:

Wkhtmltopdf for Centos 6.7

yum install -y xorg-x11-fonts-75dpi;
yum install -y xorg-x11-fonts-Type1;
wget https://downloads.wkhtmltopdf.org/0.12/
rpm -Uvh wkhtmltox-;
wkhtmltopdf http://www.google.com google.pdf;

wkhtmltopdf for centos 6.7

wkhtmltopdf for centos 6.7



Wkhtmltopdf for Centos 7

yum install fontconfig libXrender libXext xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi freetype libpng zlib libjpeg-turbo;
wget https://downloads.wkhtmltopdf.org/0.12/;
rpm -Uvh wkhtmltox-

yum install Xvfb;
xvfb-run /usr/bin/wkhtmltopdf http://www.google.com google.pdf



Wkhtmltopdf for Ubuntu 15.04

wget http://download.gna.org/wkhtmltopdf/0.12/;
sudo dpkg -i wkhtmltox-;
sudo apt-get -f install;
/usr/local/bin/wkhtmltopdf http://www.google.com google.pdf;

wkhtmltopdf for Ubuntu

wkhtmltopdf or Ubuntu