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 jtextpane to printer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "jtextpane to printer" Watch "jtextpane to printer" New topic
Author

jtextpane to printer

marko stone
Greenhorn

Joined: Oct 16, 2002
Posts: 23
hi
how i can send jtextpane to printer ???
thanks
Chantal Ackermann
Ranch Hand

Joined: Sep 28, 2000
Posts: 508
This is the tutorial:
http://java.sun.com/products/java-media/2D/forDevelopers/sdk12print.html
PrinterJob (>1.2) is the new class, PrintJob the old one.
Chantal
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jtextpane to printer
 
Similar Threads
Browsing HTML and XML files in text area
How the heck do you enter a image into a JEditorPane???
how to print in java !!!
change the text color momentarily
Printing Embedded Icons