File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Printing from JTextArea
John A Clark
Joined: Jun 24, 2002
Jun 28, 2002 13:27:00
I want to print the contents of a
. Can anyone help me.
Joined: Dec 10, 2001
Jun 28, 2002 18:43:00
Are you familiar with printing in Java in general? If not, you may want to take a look at these resources for learning the printing API:
The Printing trail
Sun's Java Tutorial
Chapter 22 - Printing
of the book
by Matthew Robinson and Pavel Vorobiev is available for downloading as are two other sample chapters at
A Five Part Series of Articles on Printing in Java
Also, right now over at
, they are providing a free download of the book JDK 1.4 Tutorial by Greg Travis. Chapter 3 covers the print service API.
How To Ask Good Questions
JavaRanch FAQ Wiki
I agree. Here's the link:
subject: Printing from JTextArea
dealing with setting up text areas
Java 1.5 StringBuffer/StringBuilder
How to stop text continuing horizontally in a textarea?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014