tags:

views:

246

answers:

4

Which library or component can do this in a easy way and not too expensive.

Edit: Oeps: I should have informed you that it is web app. and we can't rely on the the user have PDF driver installed.

+3  A: 

The easiest way is to display the HTML file in a TWebBrowser (as described here) and to print it (as described here) to a PDF Printer (e.g. PDFCreator).

ulrichb
A: 

If you want do this without the user manipulation (transparent for te user) you can read this (PDFFactory).

Regards.

Neftalí
A: 

PowerPdf is free. It doesn't directly convert from html to pdf but you may be able to parse the html and use it to generate a close facsimile.

codeelegance
A: 

I've been using Gnostice eDocEngine, a document creation toolkit for VCL with full source code. It creates/converts to Pdf as well. Very easy to use.

Mihaela