Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java printer classes

 
Achin Gupta
Greenhorn
Posts: 28
Java Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to print(via printer) data retrieved from database. How do i use the printer classes for the purpose.?
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Achin Gupta
Greenhorn
Posts: 28
Java Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you maneesh..!!
 
Nothing? Or something? Like this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!