Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need recommendations for an ASP.Net compatible HTML->PDF library [closed]

Tags:

html

asp.net

pdf

I am looking for a library to convert HTML to PDF, including styles. I would prefer it be able to accept a URL as an option, but if required, HTML can be passed in as a stream/byte array with all styles in a single file/buffer. I am using C# / ASP.Net 3.5. I have complete control of the server machine ( I can run as a service, etc... ) however, I cannot require the user to be logged in, so no application level or print driver type solutions please.

I know there exist free solutions like PDFSharp, but these still require you to format your output properly. I want the library to generate almost identical output to the source input, which this library doesn't provide ( or at least, I believe it doesn't, correct me if I am wrong ).

I also know there are a number of commercial products available. Some of them are a few thousand dollars, which is beyond my current budget for this feature. There is one library ABCPDF which seems to do exactly what I want to do, for a price I can afford to pay. That said, the lack of professionalism/polish on their website has me a bit wary.

If you have experience with ABCpdf, or can recommend a similar library ( price feature wise ), I would greatly appreciate it.

EDIT: Thanks all for the answers. Sounds like abcPDF or aspPDF are the way to go, and both are within budget.

like image 806
Serapth Avatar asked Dec 13 '25 20:12

Serapth


1 Answers

I use and highly recommend ABCPDF for what you need. I use it to pdf complicated html reports (nested tables & lots of css, & charts). It works fantastic pointing it to a url.

As a bonus it supports the page-break-inside: avoid css.

Back when I wrote classic asp, I used their ABCUpload product, which is also fantastic.

like image 184
Jimmie R. Houts Avatar answered Dec 15 '25 08:12

Jimmie R. Houts



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!