I've never tried it, but I've see a script at html2ps, after which you could run ps2pdf on it thru system.
After messing around with ps and pdf conversions a bit, I think you may find inconsistent output from the different methods. So you might want to try many methods, and see which one gives the best fidelity in conversion.