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 installed. Does FPC have a workaround for this?
Yes:Draw on a postscript canvas or image canvas, write to file and execute 'lpr myfile.ps' or 'lpr myfile.png'
Michael.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal