Wkhtmltopdf is a command line program which permits one to create a pdf or an image from an url, a local html file or stdin. It produces a pdf or an image like rendered with the WebKit engine.
This program requires an X11 server to run.
It is not built against a forked version of Qt hence some options are not supported.