Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Notepad does not recognize page breaks

Status
Not open for further replies.

lcs01

Programmer
Aug 2, 2006
182
US
I have a file edited using vi on linux, which contains ^L(Ctrl+L, not Shift 6 + Shift l) as page breaks. When I use notepad to open it, I can see a small square indicating that's a page break.

However, when I tried to print it out through noepad, it does not recognize the page breaks at all.

I tested this on both w2k & win xp.

Could someone here tell me why?

Many thanks!
 
Hi Ics01

Yes that is true. However, if you use Wordpad instead it will work.

I don't know why Wordpad doesn't treat the FormFeed char as a page break.

Jock
 
Remember, Notepad is only for non-formatted text files (The only options available to open are .Txt or All Files).
Anything it 'sees' and does not 'understand' is displayed as non-printing characters (the square box you see). As your Ctrl + L is essentially a printing character (force a page break), and is unknown to Notepad, it just shows the 'box'.
Try opening a Word File in Notepad and see what happens
 
It is not that Notepad does not understand lower ASCII characters, it does.

It is that the Notepdad print processor will not proces them.

The earlier suggestion to use Wordpad for this is perfectly correct.

One of the nice "features" of Notepad that you do not have with Wordpad is the ability to edit, and introduce, any of the lower or higher ASCII values, those below 001000 Hex, and those above 010000 Hex. The fact that the print processor does not respond to these is a feature, not a detribute.



____________________________
Users Helping Users
 
Thank you all! Your replys clarified my concerns. Thank you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top