File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Head First Android this week in the Android forum!
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
 
 
subject: Print Document
 
It's not a secret anymore!