Library for Adafruit Thermal Printer. Arduino library is published here: http://www.ladyada.net/products/thermalprinter/
Dependents: Thermal_HelloWorld
Fork of AdafruitThermalPrinter by
Revision 3:1f832bfe41d1, committed 2016-03-16
- Comitter:
- aross34
- Date:
- Wed Mar 16 19:55:29 2016 +0000
- Parent:
- 2:de26317d87a6
- Commit message:
- Trouble with Inverse On even following user manual strictly
Changed in this revision
AdafruitThermal.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r de26317d87a6 -r 1f832bfe41d1 AdafruitThermal.cpp --- 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(){