You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With random intervals images won't print properly but instead the image data as characters, see image. The failure interval is between 8 and 300 prints. I've been able to reproduce this on 3 different EPSON TM-m30III printers.
Steps to reproduce
from escpos import printer
from time import sleep
p = printer.Usb(0x04b8, 0x0e32)
while True:
p.image("/path/to/image.jpg")
p.cut()
sleep(3)
I've used this image when reproducing the error, but it happens with different images in different sizes.
It seems like setting fragment_height to 100 pixels fixes the bug. So probably a buffer error on the printer. I will see if I can replicate the error with p.image(file,fragment_height=100) and report back here.
I have:
Bug description
With random intervals images won't print properly but instead the image data as characters, see image. The failure interval is between 8 and 300 prints. I've been able to reproduce this on 3 different EPSON TM-m30III printers.
Steps to reproduce
I've used this image when reproducing the error, but it happens with different images in different sizes.
Device info
Printer: EPSON TM-m30III
3.1
CPython v3.11.2
Linux-6.1.0-rpi7-rpi-2712-aarch64-with-glibc2.36
USB
is usable:True
File
is usable:True
Network
is usable:True
Serial
is usable:True
LP
is usable:True
Dummy
is usable:True
CupsPrinter
is usable:True
Win32Raw
is usable:False
The text was updated successfully, but these errors were encountered: