views:

537

answers:

10

As the title states: What is the best or cheapest library for creating PDF files in Delphi?

A: 

I think Rave Reports is included with most Delphi versions. It supports writing reports to PDF files. Since you already paid for Delphi, this would probably be the cheapest :-)

birger
A: 

A free solution would be to create a Postscript file manually in Delphi. You can first produce your document/report or similar and save it in PS format in some vector drawing tool. The resulting file is ASCII so you can use it as a template and substitute your desired content by modifying it in your own Delphi program.

Finally, call a free PS to PDF converter on the file. For example on this page you'll find a link to such a tool (GPL GhostScript).

jjrv
+2  A: 

Best OR cheapest. These hardly ever combine well.

"Give me you biggest, strongest, cheapest drink."

-Bender Bending Rodriguez

Rik
The cheaper drinks are always the strongests, at least I can buy something with 70% of alcohol for less than 50 cents :)
Fabio Gomes
A: 

I'm using libHaru in a C++ project I'm working on. According to this page there's a Delphi interface available.

ChrisN
+3  A: 

PowerPDF

atika
A: 

If you need something simple then PowerPDF works well as it generates a simple PDF document. pdf in the box is also a good solution I have used in previous projects and is a native VCL solution and supports more of the PDF specification.

skamradt
A: 

Report Manager is a complete reporting solution avilable under the Mozilla Public License.

It has a designer, a (optional) server and can be compiled inside your .exe by Delphi.

+2  A: 

Gnostice have some very neat native VCL components (eDocEngine, PDFToolKit) for Delphi and C++Builder.

Lars Fosdal
We have very bad experiences with Gnostice support.
Gamecat
A: 

We Use VisageSoft, which can be used with Delphi and VS http://www.visagesoft.com/

CheGueVerra
A: 

LibHaru works fine. And is free. You have to understand pdf to use it, though. There is no real abstraction layer above it to provide paragraph and page models. Otherwise, generate LaTeX and use pdfLaTeX to create nicely formatted documents

Stephan Eggermont