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

gibberish output when printing (ESP32 + micropython) #4

@palmerabollo

Description

@palmerabollo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions