Phantasm is a node.js web service for printing html web pages and is mainly a wrapper around phantomjs.