Generic Text driver adds a CR?
Posted on 2000-05-12
I'm trying to print to a thermal label printer. It takes text commands, so I normally just Open LPT1 for Output and print. It works fine. I now need to use a Generic Text driver, but when I do, a Carriage Return gets added after my first line! My code is this:
Open LPT1 for output as #1
For X = 1 to 10
When I set my default printer to my generic text driver, I get this:
CR is a Hex 0D and LF is a Hex 0A. Basically, I'm getting an extra CR at the end of myfirst line. What's going on and how can I stop it? I'm running this under Windows98. Will it be different under Windows95, Windows NT, or Windows 2000?