jQuery in Action, 3rd edition
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

Printing a customized document


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.

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


Get the driff!
Cindy Glass
"The Hood"

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
It's not a secret anymore!