Asp – HTML document to PDF

asp.netpdf

I've got an ASP.NET web page that is a dynamically generated report. For business reasons, this exact report needs to be produced as a PDF. What's the best way to do this? Setting the selected printer to Adobe PDF is not an option.

Learn to programmatically create PDFs from scratch? Is there a way to render it in some browser control, then save the ouput?

Best Answer

wkhtmltopdf - I compiled it in Windows and it works great. It uses WebKit (Safari, Chrome, etc.) to render an HTML page into PDF, and it is free!