Op 2010-09-15 15:59, Leonardo M. Ramé het geskryf:
> Nice!, and is it possible to send the bitmap data to lpr through a
> pipe?.
You can print stdout output of a program like that. eg:
myprogram | lp
> Something like "cat myfile.bmp|lpr". This doesn't work, it just prints
> garbage, maybe "ca
, then print it, then
delete it, much better if I just create a TMemoryStream and send it to lpr.
Leonardo M. Ramé
http://leonardorame.blogspot.com
--- On Wed, 9/15/10, Graeme Geldenhuys wrote:
From: Graeme Geldenhuys
Subject: Re: [fpc-pascal] Command line or CGI Printing
To: "FPC-Pascal
hen print it, then
delete it, much better if I just create a TMemoryStream and send it to lpr.
Leonardo M. Ramé
http://leonardorame.blogspot.com
--- On Wed, 9/15/10, Graeme Geldenhuys wrote:
> From: Graeme Geldenhuys
> Subject: Re: [fpc-pascal] Command line or CGI Printing
> To: "
On 15 September 2010 14:20, Leonardo M. Ramé wrote:
> Hi, I'm looking for a way to send images to a printer without using the
> Printers unit. I can't use it because it relies on X (on Linux) and I need to
> print from a CGI or command line application, that must be installed on
> servers witho
On Wed, 15 Sep 2010, Leonardo M. Ramé wrote:
Hi, I'm looking for a way to send images to a printer without using the
Printers unit. I can't use it because it relies on X (on Linux) and I need to
print from a CGI or command line application, that must be installed on servers
without X instal
Hi, I'm looking for a way to send images to a printer without using the
Printers unit. I can't use it because it relies on X (on Linux) and I need to
print from a CGI or command line application, that must be installed on servers
without X installed.
Does FPC have a workaround for this?
Leonar