>>>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.
>
>How do you tell the printer in which mode (landscape or normal) to print?
By sending printer control codes that're specific to the Epson printers.
--sb--