I can connect printer. But i don't know how to print the information which is in my textfields and labels.. anyone help ?
Printable View
I can connect printer. But i don't know how to print the information which is in my textfields and labels.. anyone help ?
Try this: Java Tutorial - Printing
i have already read them all. I just wonder how to print jpanel components on a paper!? thanks for your help anyway...
Perhaps you missed the tutorial section that tells you how to do exactly that: Printing the Contents of a User Interface.
I think the best way to print panel is by using J2PrinterWorks library
I have used it and I liked it
This thread has been cross posted here:http://www.java-forums.org/new-java/46616-printing-job.html
Although cross posting is allowed, for everyone's benefit, please read: