<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head>
<body>
<p style="margin: 0pt;">
<span>
<span></span>
</span>
</p>
<p style="margin: 0px; "></p>
<div style="margin: 5px 0px;">
<br/>
Felipe Monteiro de Carvalho <felipemonteiro.carvalho@gmail.com> hat am 17. Januar 2012 um 13:59 geschrieben:
<br/>
<br/>
> On Tue, Jan 17, 2012 at 1:40 PM, David Copeland
<br/>
> <david.copeland@jsidata.ca> wrote:
<br/>
> > I had not thought that approach (a non-visual lcl program) to be
<br/>
> > possible, but I will try it. Would I use the Nogui widgetset?
<br/>
>
<br/>
> No, it doesn't implement printing.
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">The printer4lazarus package uses cups by default. I have not tested if it works with the nogui widgetset.</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px;">
>
<br/>
> > Would such a program run on a host where X was not installed?
<br/>
>
<br/>
> No
<br/>
>
<br/>
> > I am targeting only Linux. I save the output to a file (SaveToFile). The user prints the
<br/>
> > file if needed.
<br/>
>
<br/>
> Well, if you are not printing in your software then you are not doing
<br/>
> printing, only drawing. So the answer to my original questions should
<br/>
> have been "Drawing". So with your requirements using the LCL is
<br/>
> probably not necessary. If you are targeting only linux then you can
<br/>
> probably use a command line execution to print the file.
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Yes.</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">OTOH cups gives some information about the queue and the printer. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Mattias</p>
<p style="margin: 0px;"> </p>
</body>
</html>