Recent

Author Topic: ZUGFeRD: Which PDF lib to use to produce PDF/A-3  (Read 3494 times)

Pascal

  • Hero Member
  • *****
  • Posts: 932
ZUGFeRD: Which PDF lib to use to produce PDF/A-3
« on: November 28, 2016, 10:27:27 am »
Hello,

i am going to start to build a package to build and read ZUGFeRD-eInvoices.
The question is: Which lib should i use to build PDF/A-3, which is needed to embed the XML with structured data?

Pascal
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: ZUGFeRD: Which PDF lib to use to produce PDF/A-3
« Reply #1 on: November 28, 2016, 10:44:57 am »
If you required not having any GUI dependencies (eg: running on a headless server), then your options are seriously limited. FPC (trunk)'s fcl-pdf (which also works with FPC 2.6.4 and FPC 3.0.0) is the only Object Pascal based PDF library I know of that doesn't have any GUI dependencies. Unfortunately I haven't gotten around to implement any PDF/A support yet. Patches are always welcome though.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: ZUGFeRD: Which PDF lib to use to produce PDF/A-3
« Reply #2 on: November 28, 2016, 02:47:30 pm »
Hmm...yes it should be without GUI dependencies, but i think i will not be able to implement PDF/A-3 output. %)
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

ebizz

  • New Member
  • *
  • Posts: 11
Re: ZUGFeRD: Which PDF lib to use to produce PDF/A-3
« Reply #3 on: December 05, 2024, 08:47:08 pm »
Since there doesn’t seem to be any active library development for pdf in free pascal, wouldn’t it be possible to integrate python libraries into Lazarus? Python has a much bigger development community.

PascalDragon

  • Hero Member
  • *****
  • Posts: 5815
  • Compiler Developer
Re: ZUGFeRD: Which PDF lib to use to produce PDF/A-3
« Reply #4 on: December 05, 2024, 09:04:03 pm »
Since there doesn’t seem to be any active library development for pdf in free pascal, wouldn’t it be possible to integrate python libraries into Lazarus? Python has a much bigger development community.

FCL-PDF is actively developed, don't know if it supports PDF/A however.

And everyone can integrate Python libraries using Python4Delphi/Python4Lazarus though it would be better to try to find some native library that is usable for this.

mtrsoft

  • Jr. Member
  • **
  • Posts: 56
Re: ZUGFeRD: Which PDF lib to use to produce PDF/A-3
« Reply #5 on: December 05, 2024, 11:47:24 pm »
Would an API wrapper for GhostSript be helpful?

If so see https://forum.lazarus.freepascal.org/index.php/topic,61130.0.html

cdbc

  • Hero Member
  • *****
  • Posts: 1786
    • http://www.cdbc.dk
Re: ZUGFeRD: Which PDF lib to use to produce PDF/A-3
« Reply #6 on: December 06, 2024, 08:03:31 am »
Hi
It might be worth checking, if someone has created bindings for the newest "muPDF" library, it works pretty well...
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

 

TinyPortal © 2005-2018