script to create PDF from HTML

On MPU David has talked about how he saves his Pocket files to Dropbox with IFTTT, and then uses Hazel to add them to Omnifocus. I would like to do something similar, but it requires me to either download the article as a PDF, or script Hazel to automatically convert to a PDF. There are a few IFTTT rules out there that do something similar, but they all seem to use a paid service. In the past, Federico wrote an article on MacStories about how he used a command line utility that is no longer being developed.
Any ideas for automation with Hazel?
Any ideas for automation with Hazel?