Largely inspired by http://electronicfields.wordpress.com/2011/09/29/thermal-printer-dot-net/
You can print images, but they need to be 384px wide.
It's a fluent API, so you can chain functions, but don't forget to call
You'll need an USB/Serial converter.
- install with
npm install thermalprinter --save
- check the demo sample:
var SerialPort = SerialPortserialPort = '/dev/ttyUSB0'baudrate: 19200Printer = ;var path = __dirname + '/images/nodebot.png';serialPort;