littleguru said:
You should use a byte buffer instead... Strings are by definition finished after chr(0). Therefore it's just right that .NET ends each string after the first chr(0) is found and ignores all the memory afterwards.
D'OH!

So what you are basically saying, is that instead of building a string, I should build an array of bytes, and then send the byte array to the posprinter...

However I *think* that I need to pass a string to the posprinter, so surely if I convert the byte array back into string, it will terminate after the first chr(0).

hmm.