C ++ library for converting HTML to PDF?

I am looking for a C / C ++ library for converting HTML documents (actually XHTML + CSS) to PDF.

This is for commercial use, and the source will be enjoyable, but not substantial.

Anyone have any recommendations or experience?

UPDATE. To clarify, I only target the Windows platform. I am developing Borland C ++ Builder 2006, but the library does not have to be a VCL component.

Thank you very much in advance.

Steve.

+3
source share
7 answers

Just for this, I rated both VisPDF and PDFDoc Scout and will probably work with PDFDoc Scout as it can format HTML input.

.

0

wkhtmltopdf. webkit . .

- wkhtmltopdf

OpensSource (LGPL) !

,

+4

Wouuld CLI? , GNU Ghostscript html2ps ps2pdf. .

+1

, , , WebKit , Cairo . WebKit - .

- , wkhtmltopdf . WebKit Qt , .

0
0

CutePDF - PDF, . , , HTML.

-1

PrinceXML.

It is definitely the best HTML / CSS to PDF converter, although it’s not free (but hey, your programming is not free either, so if it saves you 10 hours of work, you’re free at home.)

Oh yes, I mentioned that this is the first (and probably only) HTML2PDF solution that fully executes ACID2 !?!?!

http://princexml.com/samples/

-2
source

All Articles