Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Print Document

 
Le Wang
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I want to print the document in the TextArea, who knows how to set printer and print the document?

Thanks!

 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
use the class PrinterJob. (see the tutorial at sun's for information.)
chantal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic