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

Printing a file  RSS feed

 
Daniel Layher
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there anyway someone could explain to me how to send a file (in this case a .txt file) to the printer so if i were to click a button that says "print" it would print up a file that is already on the computer...
 
Joe Ess
Bartender
Posts: 9429
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Print Service is what you need.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!