I managed to print my cat jokes properly using the thermal printer!!!!
Turns out I had the Arduino plugged in all wrong. I changed the wiring according to
these instructions, then continued to use the code from aidafruit. In order to print the jokes properly (previously words got broken into new lines) I am now using bitmap images at 384px wide, thus controling the font, characters, line spacing etc. I can even print images!
|
I am using images instead of text to control the text appearance |
|
The correct way to wire up the Arduino (from adafruit) |
|
In this old printout you can see spaces appear at beginning of new lines, and words broken into the next line |
No comments:
Post a Comment