I want to generate a PDF by passing HTML contents to a function. I have made use of iTextSharp for this but it does not perform well when it encounters tables and the layout
ABCpdf.NET (http://www.websupergoo.com/abcpdf-5.htm)
We use and recommend.
Very good component, it not only convert a webpage to PDF like an image but really convert text, image, formatting, etc...
It's not free but it's cheap.