Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Printing a customized document

 
sailsjam
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic