Hi; I'm Rosewell I made a javaword pad but it seems that what ever book i searched i can not see a method codes for printing a document. Can Anyone of you pls. give me a code for printing a document it will be a great help. God Bless You ! Rosewell
Rosewell Welcome to the Java Ranch, we hope you�ll enjoy visiting as a regular however, your name is not in keeping with our naming policy here at the ranch. Please change your display name to an appropriate name as shown in the policy. Thanks again and we hope to see you around the ranch!!
Look at the PrinterJob class. It invokes the operating systems standard print dialog. If you do a search on JavaRanch you will find lots of examples. (See the google search below).
"JavaRanch, where the deer and the Certified play" - David O'Meara
I’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of this tiny ad:
a bit of art, as a gift, the permaculture playing cards