5

Which of the mainstream Delphi report generators (if any) supports generating PDF files that comply with PDF/A standard? I'm mostly curious about FastReports and QuickReport.

LightBulb
  • 964
  • 1
  • 11
  • 27

2 Answers2

3

We provided an open source report builder, to be used from code, which is able to produce PDF or even PDF/A compliant files.

You create your report from code, then you can preview it on the screen. You can then print or export the report as PDF. Note that the report drawing uses GDI+, even if you embed .emf files or TMetaFile in them: with antialiaising, they just look smooth on screen. There are some report-dedicated methods to create the report, but also a true Canvas property, in which you can draw whatever you want.

You can use the same class without the preview function, just to create a pdf file from some content.

It's free, licensed under MPL/LGPL/GPL, and compiles and run from Delphi 6 up to XE. It's 100% Unicode-ready, even before Delphi 2009.

In order to have your reports being compliant with the PDF/A standard, you must ensure that the ExportPDFA1 property is set to true. Only a sub-set of the font file (i.e. only used characters) will be joined to the pdf content, saving disk space. Therefore PDF/A files will be bigger than PDF files generated with the default options.

Reporting has just been enhanced (in our source code repository): now handle bookmarks, links, and document outline, and life-navigation within the report preview. The generated PDF file also handle those links and outline tree. Some issues were also fixed (about bitmaps or underlined text). And one bitmap will be stored only once in the PDF, if it's drawn several times on the report. So make sure you're using the latest source code repository version.

Arnaud Bouchez
  • 42,305
  • 3
  • 71
  • 159
  • This looks very interesting but I have to make some tests to see how it really works. My question is mostly related to existing report generators and if they can generate PDF/A or not. We have a large project which already uses QuickReport and I was hoping that it has this functionality integrated. – LightBulb Jan 26 '11 at 14:22
  • 1
    Your can generate PDF (and PDF/A) files from QuickReport, using our SynPdf unit, without using our report engine. See http://synopse.info/forum/viewtopic.php?id=138 – Arnaud Bouchez Jan 26 '11 at 14:53
  • 1
    I just checked our source code. There is some missing tags to be fully PDF/A compliant. I'm working on it. – Arnaud Bouchez Jan 26 '11 at 15:57
  • 1
    That's it: I've added PDF/A support for both the report engine and our SynPdf library. You could be able to generate files which are recognized as PDF/A in Acrobat Reader, and will contain all fonts and expected metadata. – Arnaud Bouchez Jan 27 '11 at 17:15
0

Have you considered using a PDF printer such as PDF Factory?

Generally the quickest way to get PDF's from reports.