Felipe Monteiro de Carvalho <felipemonteiro.carva...@gmail.com> hat am 17. Januar 2012 um 13:59 geschrieben:
> On Tue, Jan 17, 2012 at 1:40 PM, David Copeland > <david.copel...@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. Mattias
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal