jQuery in Action, 3rd edition
The moose likes Swing / AWT / SWT and the fly likes formfeed in a textarea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "formfeed in a textarea" Watch "formfeed in a textarea" New topic

formfeed in a textarea

Mark Dorsett

Joined: Sep 13, 2004
Posts: 5
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?

Nigel Browne
Ranch Hand

Joined: May 15, 2001
Posts: 673
Try using the unicode \u000C for form feed.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Moving this to the Swing / AWT / SWT / JFace forum...

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link: http://aspose.com/file-tools
subject: formfeed in a textarea
It's not a secret anymore!