Recent

Author Topic: PDF generator  (Read 965 times)

stem

  • Jr. Member
  • **
  • Posts: 69
PDF generator
« on: February 28, 2020, 03:40:55 pm »
Hi,

I want to create pdf files in my multi-platform Lazarus project. I've found three solutions:


What would be your preferred choice? The pdf files will contain mainly text.

Thank you.

stem

lucamar

  • Hero Member
  • *****
  • Posts: 2923
Re: PDF generator
« Reply #1 on: February 28, 2020, 04:53:55 pm »
What would be your preferred choice? The pdf files will contain mainly text.

For relatively simple, straightforward, "mostly text" PDFs I'de use fcl-pdf: it's relatively simple, doesn't have external dependencies, has most (if not all) of the needed features, and is already included in Lazarus/FPC.

That said, note that I've never used any of them for serious work; I tend to rely on a system-wide PDF "printer" instead.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.8/FPC 3.0.4 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

madref

  • Hero Member
  • *****
  • Posts: 786
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: PDF generator
« Reply #2 on: February 28, 2020, 06:36:30 pm »
PowerPDF is easy to use with LazReport.
Instead of opening the report you just export it with PowerPDF.
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 2.0.6 / FPC 3.0.4
Lazarus Trunc / FPC Trunc
Mac OS X Mojave

af0815

  • Hero Member
  • *****
  • Posts: 552
Re: PDF generator
« Reply #3 on: February 28, 2020, 07:02:46 pm »
fcl-pdf. This is maintained by the fpc team.
regards
Andreas

GAN

  • Sr. Member
  • ****
  • Posts: 288
Re: PDF generator
« Reply #4 on: February 28, 2020, 07:12:53 pm »
I use PowerPDF with LazReport. It's easy if you know how to use LazReport.
Lazarus 2.0.8 FPC 3.0.4 Linux Mint Mate 19.3
Zeos 7.1.3 - Sqlite 3.8.2

Foro Lazarus en español http://forum.lazarus.freepascal.org/index.php/board,73.0.html

useroflazarus

  • New Member
  • *
  • Posts: 23

stem

  • Jr. Member
  • **
  • Posts: 69
Re: PDF generator
« Reply #6 on: February 28, 2020, 10:09:17 pm »
Is it possible to have a "print preview" of the generated pages with fcl-pdf?

stem

 

TinyPortal © 2005-2018