aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Print Document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Print Document" Watch "Print Document" New topic
Author

Print Document

Le Wang
Greenhorn

Joined: Oct 09, 2001
Posts: 10
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

Joined: Sep 28, 2000
Posts: 508
hi,
use the class PrinterJob. (see the tutorial at sun's for information.)
chantal
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Print Document