One alternative solution would be to use the web browser control and print the html to an installed PDF printer.
There are several free PDF printers available and they can be set up to print directly to a file without displaying a user interface.
I used a solution like this once and it worked fine even for large documents and large numbers of documents.