In UltraEdit, inserting a page break character can be done by using your assigned keyboard shortcut (mine is Ctrl + Enter). UltraEdit will render a nice horizontal rule to imply a page break.
How can I do the same thing in Notepad++?
The one thing you cannot do in Notepad is insert a page break using the Alt + numeric key pad method. You can insert other characters such as 013 for a new line, but Notepad rejects Alt+012 as an illegal character. You can however copy it from an existing text document and paste it into Notepad.
Form feed is a page-breaking ASCII control character. It directs the printer to eject the current page and to continue printing at the top of another. Often, it will also cause a carriage return. The form feed character code is defined as 12 (0xC in hexadecimal), and may be represented as control+L or ^L .
FF is a form feed character, to replace it with newline do following : Select the FF , press Ctrl + H. Choose Extended Mode. Replace with \n.
There is no support for this in Notepad++ as far as I know, mainly because standard text files do not support them.
I haven't used UltraEdit myself, but looking at the documentation it uses page breaks mainly to help with printing. Printing in Notepad++ is a lot more basic, again another reason for no page breaks.
Update
I've just checked the Notepad++ wiki and found the following http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Printing_And_Exporting
Unsupported print features The following are not supported as of version 5.6.8:
- Print all opened files
- Insert a page break (you can try inserting form feed characters, but most modern printers will not act upon it.
I've just tried adding form feed (ASCII code decimal 12) and get a form feed control character added, not a line so I'm guessing you're out of luck.
This is actually quite easy to do in Notepad++. Go to Edit / Character Panel. This will open "ASCII insertion panel" where you can simply double click desired character, in this case 12 (Form feed).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With