Today my Mini Thermal Printer arrived! I'm very excited about it! I'm doing a project where I would like to print a series of my own images.
I got it hooked up to power and the Arduino. I ran the example sketch that came with the Thermal library and it successfully printed. I ran LCD Assistant and generated a .cpp file with the byte array. I formatted it the way described in the tutorial. Here's the file I generated:
https://gist.github.com/1478653
I created an altered version of the example sketch, included this .cpp file and updated the code in a corresponding manner:
https://gist.github.com/1478687
When I run this the printer seems to leave a blank area of the size indicated but does not actually print out my image. If I swap in the byte array that came with the example app it prints the adafruit logo no problem. I'm setting the settings in LCD assistant as follows:
Byte orientation: horizontal
width: 257
height: 384
Include size: (not checked)
Size endianness: Little
Pixels/byte: 8
tablename: computerdiagram
The source image I am using is here: http://itp.nyu.edu/~gab305/files/comput ... source.bmp
I am also working on a Processing sketch that could do this same conversion from any image file, but that has different problems (and will be more likely to work once I have a functional example output).
https://gist.github.com/1475033
Thanks,
Greg Borenstein
NYU ITP Research Resident
http://gregborenstein.com

