Wkhtmltopdf Buildpack

Purpose of this buildpack

wkhtmltopdf is a command line tools to render HTML into PDF using the Qt WebKit rendering engine.

You may find useful to use such a tool as part of your web application. Hence, we developed a specific buildpack to ease the installation of this tool. Such a buildpack should be use as part of a multi-buildpack.

Disclaimer

Please be aware that this software is known to have different rendering depending on the installed version. This buildpack installs a specific version known to work on our infrastructure that might render things differently than your local installation.

Set up this buildpack for your application

We describe in this section the different step to reproduce in order to use this buildpack depending on the technology you use.

You will need to setup your application to use a multi-buildpack environment. Then, your application will need both the wkhtmltopdf buildpack and the one for the technology you use in your application. Here is an example using the Ruby buildpack: