File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 30916
    
158

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


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to print in java?