I have the following code, which I send after putting the printer in line mode, but it just prints the '51' after swallowing the [ESC]A
The command to change font is [ESC]A51
var hexValue = "1B"; // ESC char in HEX
var asciiValue = System.Convert.ToChar(System.Convert.ToUInt32(hexValue, 16));
var stringVal = new string(new char[] { asciiValue });
stringVal = stringVal + "A51"; // Smaller Font
data = Encoding.Default.GetBytes(stringVal + NewLine);
connection.Write(data);