A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Swing / AWT / SWT
Author
Print Document
Le Wang
Greenhorn
Joined: Oct 09, 2001
Posts: 10
posted
Oct 18, 2001 12:20:00
0
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
posted
Oct 23, 2001 07:55:00
0
hi,
use the class
PrinterJob
. (see the tutorial at sun's for information.)
chantal
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Print Document
Similar Threads
Send asci to printer to turn paper ?
Mikalai Zaikin's SCBCD study guide printable version.
Printing word doucment using JSP
how can i print an xml document through dom api
To Generate a PDF file from any word file or another file.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter