1

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.

Anders Pedersen
  • 1,034
  • 1
  • 9
  • 20

4 Answers4

3

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
  • 19,610
  • 8
  • 73
  • 87
1

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.

Kenneth Cochran
  • 11,954
  • 3
  • 52
  • 117
1

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
  • 2,482
  • 3
  • 21
  • 27
0

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

Regards.

Community
  • 1
  • 1