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:
2:6c38e763c285
Parent:
1:315c49946ded
Child:
3:0e12bed6b295
--- a/AdafruitThermal.h	Fri Jun 29 08:42:23 2012 +0000
+++ b/AdafruitThermal.h	Tue Nov 20 13:07:13 2012 +0000
@@ -84,9 +84,9 @@
     void setBarcodeHeight(int val);
 
     // 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 printBitmap(int w, int h, const uint8_t *bitmap);
+//    void printBitmap(int w, int h, Stream *stream);
+//    void printBitmap(Stream *stream);
 
     // ??
     void tab();