Can you please point me to open source or a reasonably priced comercial product capable of generating PDF from HTML?
I've successfully used HTML to PDF Converter for .NET before on a project.
We currently use ABCpdf in one of our more complex applications. It has served us well and is not very expensive at all. I like that fact that I can send it raw HTML text and it will render it to a PDF in memory or as a file so we use to generate PDFs on the fly and serve them up via the web without actually ever saving it disk ever.
We have been using it for about 3 years and early on I had to use their support for a very odd issue that was very specific and the support was very fast and help solved the issue quickly.
You can find more information on their website at: http://www.websupergoo.com/abcpdf-1.htm
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.
We've had a lot of success with an open source product called 'itextsharp' - it's not so hot at the HTML-to-PDF but is good for carefully piecing together a specific PDF document (such as a receipt). It's also free, which is always a bonus. See:
http://sourceforge.net/projects/itextsharp/
Another quick and lightweight solution is XMLPdf, written by a software company called Ibex from New Zealand no less. This tool has a model where you create an XML template file, with HTML-ish tags in the schema. You can also define tags in the XML which you associate with objects in your .NET code behind. Kind of clunky, but useful in particular circumstances. Not free, but cheap. Can find it by searching for XMLpdf on Google.
Here is HTML to PDF .NET component at the reasonable price. But it has own html/css reading and pdf rendering engines.