[fpc-pascal] Postscriptcanvas

David Copeland david.copeland at jsidata.ca
Tue Jan 17 13:40:55 CET 2012


Hi Felipe,

I had not thought that approach (a non-visual lcl program) to be
possible, but I will try it. Would I use the Nogui widgetset? Would such
a program run on a host where X was not installed? I am targeting only
Linux. I save the output to a file (SaveToFile). The user prints the
file if needed.

Thanks,
Dave. 

-----Original Message-----
From: Felipe Monteiro de Carvalho <felipemonteiro.carvalho at gmail.com>
Reply-to: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
To: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
Subject: Re: [fpc-pascal] Postscriptcanvas
Date: Mon, 16 Jan 2012 14:14:44 +0100

If you are trying to print, why do you want to use PostScriptCanvas
directly? Are you targeting only UNIXes? How will you connect the
generated postscript to the printer? You have your own code for that?

I would recommend that you use the LCL in your project and print via
the Printer object, as normally done. LCL applications do not need to
be visual, just make an application without any forms.


-- 
David Copeland
JSI Data Systems Limited
613-727-9353.





More information about the fpc-pascal mailing list