[fpc-pascal] Postscriptcanvas

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Tue Jan 17 14:40:42 CET 2012



On Tue, 17 Jan 2012, Mattias Gaertner wrote:

>
> Felipe Monteiro de Carvalho <felipemonteiro.carvalho at gmail.com> hat am 17.
> Januar 2012 um 13:59 geschrieben:
>
>> 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.
>
>
> The printer4lazarus package uses cups by default. I have not tested if it
> works with the nogui widgetset.
>
>>> 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.
>
>
> Yes.
>
> OTOH cups gives some information about the queue and the printer.

Purely as a side note: 
This is not relevant if the user is behind a browser on another machine.
For instance, none of our webservers has cups installed.

Michael.



More information about the fpc-pascal mailing list