Converts HTML websites to PDF instantly using an ASP.NET Class Library and a command-line tool in the background.
Temporary live preview available (advised right click, open in new window)
here
If you purchase, please take a brief moment to rate this product
After my research for PDF conversion tools (which is a part of the documentation), I found that one of the best, up-to-date, usable solution that doesn’t cost hundreads of dollars, is wkhtmltopdf.
This is an assembly that wrapps the windows binaries.
Source code and demo project are provided.
Use this for
– creating pdf buttons to convert the current page (with Request.Url.ToString())
– converting a specific internal of external location
– creating a printable version of your site/page in pdf, tweaking the print.css
Updates
– Avoid Response.Write markup issues
Instead of Response.Write(pdf.OpenPDFfromURL());
Use ClientScript.RegisterClientScriptBlock(this.GetType(), “pdfscript”, pdf.OpenPDFfromURL());
Future improvement areas
– Try to overcome some browsers popup blocking and user action required to enable it
Thirt party application problematic areas
– may show login page if site requires authentication/redirection
– may show blank area for iframes