After calling the printReceiptText function for a few times, It will print out gibberish. After disconnect and reconnect back it will work fine again. 
After calling the printReceiptText function for a few times, It will print out gibberish. After disconnect and reconnect back it will work fine again.
