It may turn out to not look good enough, but it might be worth a try to go "the other way 'round": load the HTML in Safari, save-as-pdf (from the Print panel.) Regrettably this needs gui-scripting to automate, there's no exposed applescript interface for it...