Library for Adafruit Thermal Printer. Arduino library is published here: http://www.ladyada.net/products/thermalprinter/
Dependents: Thermal_HelloWorld
Fork of AdafruitThermalPrinter by
Revision 1:315c49946ded, committed 2012-06-29
- Comitter:
- ashleymills
- Date:
- Fri Jun 29 08:42:23 2012 +0000
- Parent:
- 0:c4a48036e46f
- Child:
- 2:de26317d87a6
- Commit message:
- Initial commit;
Changed in this revision
| AdafruitThermal.cpp | Show annotated file Show diff for this revision Revisions of this file |
| AdafruitThermal.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/AdafruitThermal.cpp Sat Jun 02 12:14:31 2012 +0000 +++ b/AdafruitThermal.cpp Fri Jun 29 08:42:23 2012 +0000 @@ -12,7 +12,7 @@ MIT license, all text above must be included in any redistribution ****************************************************/ -/** Ported to mbed by Ashley Mills **/ +/** Ported hastily to mbed by Ashley Mills - NOTE: printBitmap not ported, nothing tested **/ #include "mbed.h" #include "AdafruitThermal.h"
--- a/AdafruitThermal.h Sat Jun 02 12:14:31 2012 +0000
+++ b/AdafruitThermal.h Fri Jun 29 08:42:23 2012 +0000
@@ -12,7 +12,7 @@
MIT license, all text above must be included in any redistribution
****************************************************/
-/** Ported to mbed by Ashley Mills **/
+/** Ported hastily to mbed by Ashley Mills - NOTE: printBitmap not ported, nothing tested **/
#pragma once
@@ -83,9 +83,10 @@
void printBarcode(char * text, uint8_t type);
void setBarcodeHeight(int val);
- void printBitmap(int w, int h, const uint8_t *bitmap);
- void printBitmap(int w, int h, Stream *stream);
- void printBitmap(Stream *stream);
+ // not ported
+ //void printBitmap(int w, int h, const uint8_t *bitmap);
+ //void printBitmap(int w, int h, Stream *stream);
+ //void printBitmap(Stream *stream);
// ??
void tab();

Adafruit Thermal Printer