Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

formfeed in a textarea

 
Mark Dorsett
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to print a textarea and midway through printing issue a formfeed? I load to files into a textarea for the user to view and then print. I would like the two file to be printed with a new page between them so no part of either file is on the other files page. I tried using a '\f' in the textarea, but it is ignored. Any suggestions?

Thanks!
 
Nigel Browne
Ranch Hand
Posts: 703
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using the unicode \u000C for form feed.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Swing / AWT / SWT / JFace forum...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic