Adafruit Thermal Printer Library adapted for Spark