Click here to Skip to main content
15,845,367 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
In an ASP.NET project I need to generate a PDF for the user to download which is made from HTML. That HTML has img's in it too, which need to be embedded. It would also be great if links are clickable.

Now i've tried a whole range of different product demo's, and they all either don't work, are classic ASP, or are horridly expensive.

This is for a commercial application.

The most promising (although expensive) looked like[^] but the example code from HTML to PDF (found here:[^])crashes IIS, on every page I try, with a very generic error message.

Please can someone suggest a product for this. I can't run an CMD line app on the server unfortunately, so it does have to be just a dll that I stick in.


1 solution

I've used ABCPdf before and not had any problems. Now I tend to use iTextSharp[^] which takes a bit more work (because the documentation is not that good) but works well.
Share this answer
Matt Cavanagh 4-Apr-11 4:58am    
Did you manage to convert HTML to PDF using ABCpdf? If so, am I using the right method(AddImageToChain)?
R. Giskard Reventlov 4-Apr-11 5:15am    
If only I could remember the specifics: been a 2-3 years: I'll see if I can dig some code up.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900