Port Adafruit thermal printer Arduino library to Linux.