HTML to PDF

Discussion in 'Windows / IIS' started by robrich, Sep 2, 2009.

  1. IIS 6 accounts support HTML to PDF via ABCpdf.NET ( http://support.discountasp.net/KB/a124/websupergoo-abcpdfnet-sample-code.aspx ), but apparently this is not built-in for IIS 7 hosting ( http://support.discountasp.net/KB/a395/list-of-supported-and-deprecated-components-in-iis-7.aspx ), and the "from url" feature was disabled anyway -- which is really the killer feature.

    Do you have any recommendations of html-to-pdf libraries that would run in Medium Trust and/or Full Trust on DiscountASP.NET's IIS 7 hosting? Has anyone purchased ABCpdf.NET for use in IIS 7 hosting?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    I doubt that this will work because abcpdf uses the IE object to render a web page before converting to PDF. The problem is we do not want to allow access to IE objects because of the large number of hacks targeting it.
     
  3. Right now ExpertPdf looks pretty good because it has succeeded where similar tools and libraries have failed in some way when creating pdfs for my ASP.NET web pages: http://www.html-to-pdf.net/Features.aspx

    It has certainly done a better job than the one I tested here and ExpertPdf does have more features e.g. JavaScript support.

    I'm not sure about the medium / full trust requirements but there is a free trial download available, so I'd say it's worth testing on DASP to see if it works for you.
     

Share This Page