File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes help - page break Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "help - page break" Watch "help - page break" New topic

help - page break

Per Lovdinger
Ranch Hand

Joined: Jun 11, 2001
Posts: 35
Page break
I want to create a file in such a way that it includes the proper escape-codes
for newLine and pageBreak.
For newLine I know that the escape code is '\r' and '\n'.
How can I do the same for pageBreak ?
Is there a escape code for page break ?
I want to write a file to disk and when I print the file I want the proper page breaks
to take effect.
thanks in advance
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

In emacs you can generate a page break with the command:
< control >ql
which places a "^L" character in the document. Not sure what is actually happening behind the scenes.

[This message has been edited by christopher foran (edited August 22, 2001).]

Please ignore post, I have no idea what I am talking about.
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

I have a printout of the unicode stuff. There is one called "FF", which I assume means "form feed". Its unicode is 000C, whatever that means.
I agree. Here's the link:
subject: help - page break
It's not a secret anymore!