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

How to print in java?  RSS feed

 
Mr.Vipin Dube
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to take printout, is there any reporting tool, or any API that can help me take printout of my application output.

Thanks
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37234
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at the java.awt.print package. In particular, the PrinterJob class is a good starting point.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!