[fpc-pascal] Postscriptcanvas
David Copeland
david.copeland at jsidata.ca
Tue Jan 17 14:31:11 CET 2012
Okay, I now understand the distinction between printing and drawing.
Using the LCL was only necessary to use it's Postscriptcanvas as that is
what I'm familiar with. But as this program needs to be able to run
without X, I will either puzzle out the FCL's fpcanvas, or just write
the postscript myself.
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: Tue, 17 Jan 2012 13:59:19 +0100
On Tue, Jan 17, 2012 at 1:40 PM, David Copeland
<david.copeland at jsidata.ca> wrote:
> 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?
No, it doesn't implement printing.
> Would such a program run on a host where X was not installed?
No
> I am targeting only Linux. I save the output to a file (SaveToFile). The user prints the
> file if needed.
Well, if you are not printing in your software then you are not doing
printing, only drawing. So the answer to my original questions should
have been "Drawing". So with your requirements using the LCL is
probably not necessary. If you are targeting only linux then you can
probably use a command line execution to print the file.
--
David Copeland
JSI Data Systems Limited
613-727-9353.
More information about the fpc-pascal
mailing list