>Thanks, I'll take a look. I used slightly different approach. I just created a string, then output string to file. I don't create page breaks, since it's ASCII file.
In the ASCII text file, my class includes chr(12) for a pagebreak. This is the code for Epson dot-matrix printers, for a page-break.
In general, all codes I use are specifically for Epson dot-matrix printers. Of course, you can change this, if you find out the correct code for some other printer.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)