File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "formfeed in a textarea" Watch "formfeed in a textarea" New topic
Author

formfeed in a textarea

Mark Dorsett
Greenhorn

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?

Thanks!
Nigel Browne
Ranch Hand

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

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]
 
Don't get me started about those stupid light bulbs.
 
subject: formfeed in a textarea
 
Similar Threads
Dynamically setting TextArea size
FormFeed in javamail
the artist formerly known as Prince
Confused...printing a description as entered by the user.
Dynamic size of JTable