[Pharo-project] Issue 3255 in pharo: It should be possible to print text from help browser to printer

pharo at googlecode.com pharo at googlecode.com
Mon Nov 22 10:35:41 CET 2010


Comment #4 on issue 3255 by Torsten.... at astares.de: It should be possible  
to print text from help browser to printer
http://code.google.com/p/pharo/issues/detail?id=3255

Try the following:

  |printer|
  printer := TextPrinter new.
  printer bestColor.
  printer printText: 'HelloWorld'

Anyone able to confirm the platforms that supports this (Linux, Mac, ...)?

Its primitive: 232 (see Form>>primPrintHScale:vScale:landscape:)

"On platforms that support it, this primitive prints the receiver, assumed  
to be a Form, to the default printer."





More information about the Pharo-project mailing list