Connect thermalprinter to computer (eg. raspberry pi).
Set port to thermal_printer.js at
var serialPort = new SerialPort("[YOUR PORT]", {
eg. /dev/ttyUSB0
Find port
ls /dev/tty*
set publish_key, subscribe_key , channel
In this we set
publish_key : "demo"
subscribe_key : "demo"
channel : astatus
Please see at adafruit