Let's say I want to create a file in such a way that it includes the proper escape-kodes for linefeed and newPage. So that when I open the file in notepad and print it, it will for example print 6 lines,break for newpage, print next 5 lines and so on.
I want to write a file to disk and when I open that file in notepad
I don't think notepad has support for page-break. Otherwise, ascii 13 is Carrige Return(CR). I think 10 is Linefeed and 12 is formfeed, or if it is the other way around. As far as notpad is concerned, I thing you only need CR for it to work. Doesn't the \n notation work in Java (I'm mainly used to C++). If so, that will work as new line. /Mike