Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

a question on printing api  RSS feed

 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey folks,
i have a pretty stupid question, but still...i need an answer!
i need to send to a printer a job which includes a simple text (actually i wanna build a String
representation of an object and print it on paper).
i understood from the api a need to somehow overwrite the print() method...
here comes the question: how do i send a text (i've found a lot of graphics 2d examples but no simple text..) and if there any way to send an object to the printer (may be its toString method will be printed ?)
thanXX :roll:
 
bin jian
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
find your answer at this url:
www.jalice.net
wish this will be helpful!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!