Actually, this may not be an issue in the code at all. As a test I just created a little notepad document and sent it to the printer with output to a file and see the same leading characters as the second image above as well as the extra line feeds at the bottom so now am thinking they may be added by the print driver?

I'll try a quick test in VB6 and see if I get the same output.