jsreport recipe which is rendering pdf from html using phantomjs
github.com/jsreport/jsreport-phantom-pdf
jsreport/jsreport-phantom-pdf