This is the Adafruit thermal printer, whose Arduino library is published here: http://www.ladyada.net/products/thermalprinter/. This is a basic port to mbed that needs proper testing. The first printBitmap function is implemented but not fully tested, the stream versions are not ported yet.

Dependents:   SMS_LEDMatrixPrinter

Fork of AdafruitThermalPrinter by Ashley Mills

Revision:
1:315c49946ded
Parent:
0:c4a48036e46f
Child:
2:6c38e763c285
--- 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();