in reply to Printing from a browser
You could replace the 'render it in a browser' phase with something like html2ps or html2pdf.