Hello, I just got my Arduino Uno + Eternal Shield + Adafruit Thermal Printer.
I totally love them.
However, as I don't use Twitter, I'd love to hook it up to my blog. (recent comment RSS)
One of the biggest concern is how to store and print it to the printer.
It seems like when Arduino gets data from the internet, it receives byte by byte and spread it to the serial.
If I do same way with the thermal printer, I see that there are one character every line. (in other words, printing vertically)
So, I was thinking about using array as Arduino's Twitter example did. However, blog comments easily go over 140 and I'm actually looking at 2000 ~3000 characters (want to test for newspaper feed).
Here are the question, any recommendation of the handling method? I've been working with PHP and never had to worry about such memory issues.
As I am 1st day Arduino user, if you could provide any example, that would be so nice.
Before I forget, thank you so much for reading and your comment.
Wildbill:
I did not use println; I use printer.print for that one. However, I realized that it still works just like println.
Assume blog article is long, how does Arduino handle that?
Nick:
How do you handling with 2kb RAM? Does Arduino has any function that deactive memory after variable became useless?
Can you please provide a little bit of code. I want to send image data (a byte array) from my server to a thermal printer. My ethernet shield doesn't have an SD card slot so I need a little help with buffers or requesting smaller chunks of data for the theral.printBitmap() method.