[fpc-pascal] Printing TFPImage to TCairoPSCanvas

Leonardo M. Ramé martinrame at yahoo.com
Mon May 21 13:49:00 CEST 2018


Hi, I need to print an TFPMemoryimage into Printer.Canvas (which uses TCairoPSCanvas to printing to CUPS) from a Linux CGI (no widgetset), but it seems that it's an impossible task, because Printer.Canvas requieres a TBitmap which in turn requires a widgetset.
Can anyone help me with this?. 

BTW, can fpReport print to a Printer? all the examples "exports" to PDF and other formats, but none of them is sending directly the report to a printer.
Regards,Leonardo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180521/4f5743f6/attachment.html>


More information about the fpc-pascal mailing list