If anyone else has trouble getting wkhtmltopdf to work with CentOS, here's how I got it working. Tested on CentOS 6.2 and 6.4Download the latest version. If you're unsur... [by Lamer]
I installed wkhtmltopdf and wkhtmltoimage on my VPS. (linode server) with ABC as logged in user (admin rights granted).
I'm trying to get wkhtmltopdf working and i received the following error when using certain fonts with @font_face.
/usr/bin/wkhtmltopdf: symbol lookup error: /usr/bin/wkhtmltopdf: undefined symbol: FcFreeTypeQueryFace
So I looked it up and saw I needed up update fontconfig so I followed this guide.
tar -zxvf f
What's, in your opinion, best pratice, to let wkhtmltopdf installed on a server be accessed as a service? (E.g. with an REST Interface via apache/php)
It seems rather insecure to simply pass wkhtmltopdf any type of html data submitted by the user which maybe, somehow, open a securty leak inside wkhtmltopdf...
What would be the best solution to fix that? Running in a jail via chroot?
I'm using WKHTMLTOPDF on a 64-bit Linux server and I'm running into problems with the version.
Seen here: http://code.google.com/p/wkhtmltopdf/downloads/list
There's slim pickins when it comes to pre-compiled binaries. I started with version 0.9.9 which has a few bugs.
I have a binary here that is apparently statically linked:
$ file wkhtmltopdf-amd64
wkhtmltopdf-amd64: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, stripped
$ ldd wkhtmltopdf-amd64
not a dynamic executable
$ readelf -d wkhtmltopdf-amd64
There is no dynamic section in this file.
But when i try to execute it, it complains that shared libs would be missing:
I need to convert a HTML URL to pdf format using wkhtmltopdf tool on terminal.
$ wkhtmltopdf --username 'arya_normal2' --password '1' http://localhost:8000/employee/arya_normal2-no-emp-code/certificates/53/... localhost.pdf
Its not getting authenticated/logined when hitting url.
Hi there guys , first question in ages
Slackware was and is working problem free ...
wkhtmltopdf is converting my css code wrong. It does not show the background property of a div.
I'm using wkhtmltopdf through the command line. It successfully creates a PDF given a URL but is very slow and the output ends with a seg fault. Any idea how to resolve this?