wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2
wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2

Then you have to install it, so you have to write this on the terminal:

tar xvjf wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2
sudo chown root:root wkhtmltopdf-amd64
sudo mv wkhtmltopdf-amd64 /usr/local/bin/wkhtmltopdf
sudo chmod +x /usr/local/bin/wkhtmltopdf

Go to Settings>Technical>Parameters>System Parameters

And add this:

Key: webkit_path
Value: /usr/local/bin/wkhtmltopdf

If still error coming, then do-
sudo aptitude install ia32-libs

Advertisements