[fpc-pascal] What library would be recommended for creating pdf file (print invoices)

Tony Whyman tony.whyman at mccallumwhyman.com
Thu May 2 10:35:33 CEST 2013


Adrian,

I use Lazreports to lay out invoices, purchase orders, parcel labels 
etc. This can print directly to a printer and has an extension to print 
to PDF using PowerPDF. I use this so that I can export to PDF and EMail 
invoices. All works very well for me.

Tony W

On 02/05/13 09:11, Adrian Maier wrote:
> Hello guys ,
>
> I'm wondering which is the best library available for freepascal that 
> i could use to generate printable invoices?
> Most likely a lot of people need this kind of functionality in their 
> applications, so ... perhaps there is some obvious choice that someone 
> could point to me immediately ;)
>
>
> Some background information:   i'm adapting an existing application 
> for a new customer.  Previously,
> the invoices were simple text files that were sent directly to a 
> matrix printer (using pre-printed
> paper that contained the company logo, the labels, the lines/boxes).
>
> But now i have to find a solution to draw the entire invoice on blank 
> paper.
>
> An important remark: the invoice generator has to be a console 
> program, because it will be part
> of a bigger application that has a text-interface (running on linux).
>
>
>
> So far i am aware of :
> - lazreport.   To me it's unclear whether this one can be used in a 
> console application.
> - powerpdf , a library for creating pdf files
> - libharu,   a c-library that can be used from pascal (mentioned on 
> this list in an older thread)
> - fpgui has a component that would allow pdf creation
> Probably there are several other libraries available.
>
>
> Which one would you recommend to me   (taking into account the API 
> cleanliness)  ?
>
>
> Cheers,
> Adrian M
>
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130502/1084dc02/attachment.html>


More information about the fpc-pascal mailing list