Skip to content
Amy Unger edited this page Aug 25, 2013 · 4 revisions

Troubleshooting

Unknown long argument --disable-smart-shrinking

This can happen when You use wkhtmltopdf in oder version then You should (for example from Ubuntu repository), to fix this You must use version from http://code.google.com/p/wkhtmltopdf/downloads/list or this from PDFkit/bin

Optimizations

PDFKit does some rather expensive operations to keep the API simple, like parsing your html to extract stylesheets.
If you need to speed it up see this gist https://gist.github.com/1330326

Clone this wiki locally