Hello,
There is class TextPrinter.
Try
printer := TextPrinter new.
printer bestColor.
printer printText: 'your text'.
TextPrinter creates Form instance and print it by some primitive. Therefore you can print any form and morph:
printer := TextPrinter new.
printer bestColor.
���
aMorph imageForm
��� ��� primPrintHScale: printer resolution x vScale: printer� resolution y landscape: printer� landscape.
I test it on Windows.
Hey all,Is there a way to drive a printer from a pharo environment? I would like to know if it's possible to generate a pdf and instruct the printer to print it. Any advice?Thanks in advance,Linus
_______________________________________________
Pharo-users mailing list
Pharo-users@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users