Hi,
You have to be careful with the kind of datas that you send...
You told that you sent \1b or something like this, but did you sent this in Ascii mode or \ mode... It's very different for the device...
Maybe you have to write as a constant in \ mode the code \1b, and after that convert this string type to ascii mode using the roght button on the constant and then send the character to the device