How can a Page Break be entered in gedit?

Asked by Kelly Bellis on 2012-09-23

In TextPad, for example, the user can enter a deliberate Page Break. How can a Page Break be entered in gedit?

Thanks for any reply.


Question information

English Edit question
Ubuntu gedit Edit question
No assignee Edit question
Last query:
Last reply:

I don't think its possible. You could always type your text in gedit, then add the breaks in Libreoffice.

Warren Hill (warren-hill) said : #2

Gedit is a simple text editor its not intended to be a word processor in any way. I agree with Andrew I don't think its possible.

I suggest using a Word processor such as Writer in Libreoffice.

Kelly Bellis (kellybellis) said : #3

Thank you both for the reply - I appreciate your efforts :)

Mostly the question arose from the need to include the instruction in the bit of C++ being compiled on the Linux box which would result in the lengthy text file ultimately produced when the command was run to be broken into pages.

Thanks anyway.


Warren Hill (warren-hill) said : #4

If you enter an ASCII form-feed (Character 0x14) into the source file it will be ignored by the compiler and when printed will throw new page (page break). I do not know how you can enter this in gedit though.

Can you help with this problem?

Provide an answer of your own, or ask Kelly Bellis for more information if necessary.

To post a message you must log in.