views:

1254

answers:

8

We're using Fast Reports to create reports but we're not very happy with the quality of the PDFs it creates. I know we can plug in other PDF components instead of the one that comes with FastReports so my question is

What good PDF components are there out there (Free or Commercial) for Delphi? Ideally it should not require any dlls.

Edit: I bought Gnostice in the end as it had the FastReports integration, source available and a fairly good reputation. I did however find an issue (after I had bought it) with exporting multipage reports from FastReports to PDF where the component leaks memory and corrupts the output. I've reported it to Gnostice so I guess we'll see how good their support is in the next few days...

Edit 2: Gnostice came back with a fix that rectifies the memory leak and the corrupted output.

+3  A: 

We are using Gnostice and are very pleased with it. It allows us to print our ReportBuilder reports to PDF, HTML, XML, Excel, Gif, ...


Some minor issues we have come accross working with the component

  1. Somewhere deep in the bowels of the component, Application.Processmessages get's called. You have to make sure your code handles reëntrance.
  2. We had to set Preferences.UseImagesAsResources of the TgtDocSettings component to True to resolve AV's when printing to anything else but PDF.
  3. Probably due to the way we use the component but the first printed page was always Portrait. We had to add a call to gtRBExportInterface.Engine.Settings.Page.Orientation to set the orientation to landscape if needed.
Lieven
A: 

The original component - QuickReport

Riho
+1  A: 

Here are some (All Commercial) I came across when looking for something similar:

I found that the freely available ones LibHaru, PoDoFo weren't up to scratch for my requirements unfortunately.

QAZ
+2  A: 

We use wPDF. We don't generate pdf-files directly thought - we generate different reports, and 'print' them to pdf as an alternative to printer.

Vegar
A: 
lkessler
A: 

I've been using wPDF with QuickReports / QRDesign. Basically by converting the report to a metafile then producing the pdf from that. It also claims to have Fast Report support.

Alister
A: 

There are 2 ways to create PDF reports using eDocEngine. Either you use a report builder component (like QuickReport, Rave etc) and then use the eDocEngine interface to save the contents as PDF.

The other way is to programmtically use TgtPDFDocument class and then settings it's properties and collections. This gives much finer control over features like watermarks, permissions, password security etc.

Hemant
+1  A: 

PowerPDF is free and opensource (LGPL). its realy small but effective!

PowerPDF

Bernd Ott