File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Java printer classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java printer classes" Watch "Java printer classes" New topic

Java printer classes

Achin Gupta

Joined: Sep 14, 2011
Posts: 28

I need to print(via printer) data retrieved from database. How do i use the printer classes for the purpose.?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10768

Recommended reading
Also, since 1.6, java has the Desktop class which has a convenient print(File f) method.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Achin Gupta

Joined: Sep 14, 2011
Posts: 28

Thank you maneesh..!!
I agree. Here's the link:
subject: Java printer classes
It's not a secret anymore!