jQuery in Action, 3rd edition
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
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: 10823

Recommended reading http://download.oracle.com/javase/1.4.2/docs/guide/jps/index.html
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: http://aspose.com/file-tools
subject: Java printer classes
It's not a secret anymore!