04-27-2012 03:50 AM
Hi all,
i'm using printtextbuffer to print data in the buffer in a printer. The problem is that this function is adding caracters to the buffer which has an impact ti the data that i want to print. So, it's caused by the cal of this function?
best regards
04-27-2012 02:12 PM
From the help I must point out the following caveats:
The last one there could be of importance. Is your buffer null terminated (The last character in the string is a ASCII NUL or 0)? If not, then the function may be reading past the end of your string into garbage data until it hits a ASCII NUL character.