aspose file tools*
The moose likes Beginning Java and the fly likes Printing a customized document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Printing a customized document" Watch "Printing a customized document" New topic
Author

Printing a customized document

sailsjam
Greenhorn

Joined: Jul 05, 2001
Posts: 18
I want to arrange an String array of text to be printed. For instance, I ask the user for information about him/herself and store the information in an array. The user has the option to send this information to the printer. How can I design a page with this information.

Eg:
Personal Information
---------------------
Name : John Brown
Age : 24
Address : 8 Wall Street

----------------------------------------

Get the driff!
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
That is sort of up to you. What do you want it to look like?
You could just spit the information out unformatted and it would hit the page. You could put a newline character after each piece of information and get a list like look, the options are endless.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Printing a customized document