*
The moose likes Swing / AWT / SWT and the fly likes How to print Text area contents to printer??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to print Text area contents to printer???" Watch "How to print Text area contents to printer???" New topic
Author

How to print Text area contents to printer???

Md.Afzalur Rashid
Ranch Hand

Joined: Oct 29, 2002
Posts: 47
Please Inform me how to take the printout of the text area contents.....And How to write the text area documents to files.......Thank you


Be Confident,be trusty,Count your age by friends not by years
Md.Afzalur Rashid
Ranch Hand

Joined: Oct 29, 2002
Posts: 47
Please inform me how to print the text area contents without printing the label.Or other parts of the frame or window.....
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
This is not the forum for these kinds of questions. I'm moving this to the Swing forum.
Arshad Khan
Greenhorn

Joined: Jul 20, 2003
Posts: 2
Originally posted by Md.Afzalur Rashid:
Please Inform me how to take the printout of the text area contents.....And How to write the text area documents to files.......Thank you
Sri Rangan
Ranch Hand

Joined: Dec 08, 2001
Posts: 160
Take a look at the example code postedhere.
Sri
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to print Text area contents to printer???
 
Similar Threads
printing text
How can I display the contents of a file
Need help viewing text file in text area
clearing a text area
printing on an applet