BoboTiG / thermalprinter

Python module to manage the DP-EH600 thermal printer.
https://pypi.org/project/thermalprinter/
MIT License
33 stars 8 forks source link

Images are not being printed correctly #16

Open pawelmalak opened 4 years ago

pawelmalak commented 4 years ago

I tried to print example code from README > Usage and got text and barcode being printed properly:

IMG_2209

But when I try to print any image I'm just getting bunch of random characters. I made sure that the image has correct size and that the baud rate is also correct.

IMG_2210

I also tried to hardcode self._byte_Time as sugested in #9

I managed to get my images working by setting a hardcoded self._byte_Time 0.0005 (which is somewhat close to the default timing) rather than depending on the low sleep time set by my higher baudrate 115200.

but it didn't work in my case.

Upvote & Fund

Fund with Polar