jQuery in Action, 3rd edition
The moose likes Java in General and the fly likes How to print in java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to print in java?" Watch "How to print in java?" New topic
Author

How to print in java?

Mr.Vipin Dube
Greenhorn

Joined: Jan 10, 2004
Posts: 5
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


Enjoy...<br />Vipin Dube
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32501
    
214

Take a look at the java.awt.print package. In particular, the PrinterJob class is a good starting point.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to print in java?
 
jQuery in Action, 3rd edition