Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

printing a file  RSS feed

 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello world,
I have an array of strings. i want to print it using a printer. could you please tell me how to do it. is there a place i can read about printing?
thanks
 
Gayathri Prasad
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Desilva,
Please Go through the following links which might be useful
www.javaworld.com/javaworld/jw-10-2000/ jw-1020-print_p.html
http://java.sun.com/printing/whitepaper.html
also see the PrinterJob class of Java.
ATB,
Gaya3
--------------------------------------------------Beginning is half done.
 
Gayathri Prasad
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Please Go thru the following online tutorial which would be of some help to u
http://java.sun.com/products/java-media/2D/forDevelopers/sdk12print.html
 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the answer. I will go through the API documentation.
Thanks
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!