aspose file tools*
The moose likes I/O and Streams and the fly likes printing a file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "printing a file" Watch "printing a file" New topic
Author

printing a file

Ransika deSilva
Ranch Hand

Joined: Feb 18, 2003
Posts: 524
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


SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
Gayathri Prasad
Ranch Hand

Joined: Jun 25, 2003
Posts: 116
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

Joined: Jun 25, 2003
Posts: 116
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

Joined: Feb 18, 2003
Posts: 524
Thanks for the answer. I will go through the API documentation.
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: printing a file