I want to convert HTML page to PDF. There are several options, but they have some problems.
- Print HTML page in IE through
PDFCreator
(too cumbersome) - Use
wkhtmltopdf
(low quality) - Use
PhantomJS
(low quality)
Maybe I can use a complex solution? To print with PhantomJS
through PDFCreator
, or improve quality of wkhtmltopdf
, or maybe something else?
Maybe you can try with Amyuni WebkitPDF. It's not open source, but it's free for commercial use, and it can be used from C#.
Sample code for C# from the documentation:
Usual disclaimer applies.