This is an Arduino library for the Adafruit Thermal Printer. Pick one up at --> http://www.adafruit.com/products/597 These printers use TTL serial to communicate, 2 pins are required.
Original Adafruit tutorial with wiring diagrams, images, etc. is available at http://www.ladyada.net/products/thermalprinter/
On the Particle Photon connect the thermal printer to the RX and TX pins.
Adafruit invests time and resources providing this open source code. Please support Adafruit and open-source hardware by purchasing products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries, based on Thermal library from bildr.org MIT license, all text above must be included in any redistribution.
!!! Adapted for Spark Core by Paul Kourany, June 2014 !!!