Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

gibberish output when printing (ESP32 + micropython) #4

Open
palmerabollo opened this issue Apr 23, 2022 · 0 comments
Open

gibberish output when printing (ESP32 + micropython) #4

palmerabollo opened this issue Apr 23, 2022 · 0 comments

Comments

@palmerabollo
Copy link

palmerabollo commented Apr 23, 2022

Hi, I'm trying to print BMP images in a Tiny Thermal Printer using your code and following your detailed post and https://kapusta.cc/2017/12/16/printing-bitmaps-with-a-thermal-printer/ (thanks).

This is how the image I'm using for my tests looks like, that is taken from your repo (https://github.com/ayoy/micropython-thermal-printer/blob/master/gfx/aykm.bmp):

Screenshot 2022-04-23 at 17 58 28

And this the output I get:

photo_2022-04-23 17 59 15

I've tried different BMP formats, using printBitmapFromFile & printBMPImage, using LaaT=True and LaaT=False

This is the only attempt that somehow resembles the original image:

photo_2022-04-23 17 59 18

printer.printBitmapFromFile(384, 384, "image.bmp", LaaT=True)

Do you know what could be happening?

Additional info:

I've spent a couple of weeks trying to figure this out... any idea about what could be the cause or what else could I try would be really appreciated.

Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant