hi, I'm trying to use an arduino uno linked to a thermal printer to rpint some images but i can't seem to make them fit into the arduino memory so I tried connecting an sd module. I can't understand if and how it is possibile print cpp images stored into the sd card. Thank you
Yes, you can store your images data on the sd card, for example by converting your cpp arrays to binary files.
okay, but then how do i convert the binary data to make it printable? and how do i read it from the sd card ?
You read it like any other file, look at the examples of the sd library that you use. Read a few bytes of the file into a buffer, print it, and repeat until you reach the end of the file.
But for what I understood the thermal printer only prints images that are cop arrays. I tried printing the binary code and it prints numbers not the images.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.