Library for Adafruit Thermal Printer. Arduino library is published here: http://www.ladyada.net/products/thermalprinter/
Dependents: Thermal_HelloWorld
Fork of AdafruitThermalPrinter by
Diff: AdafruitThermal.cpp
- Revision:
- 3:1f832bfe41d1
- Parent:
- 2:de26317d87a6
--- a/AdafruitThermal.cpp Wed Mar 16 01:40:10 2016 +0000 +++ b/AdafruitThermal.cpp Wed Mar 16 19:55:29 2016 +0000 @@ -206,13 +206,14 @@ } void AdafruitThermal::inverseOn(){ - //setPrintMode(INVERSE_MASK); - writeBytes(29, 'B', 1); + setPrintMode(INVERSE_MASK); + //writeBytes(29, 66, 1); } void AdafruitThermal::inverseOff(){ - //unsetPrintMode(INVERSE_MASK); - writeBytes(29, 'B', 0, 10); + unsetPrintMode(INVERSE_MASK); + //writeBytes(29, 'B', 0, 10); + //writeBytes(29, 66, 0); } void AdafruitThermal::upsideDownOn(){