Tech Off Post

Single Post Permalink

View Thread: Problems with Chr(0)
  • User profile image

    jh71283 said:
    littleguru said:

    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).

    Confirmed. It needs to be a string that I pass to the posprinter.