brasizza / sunmi_printer

BSD 3-Clause "New" or "Revised" License
39 stars 46 forks source link

(SUNMI V2) SunmiPrinter.printQRCode() does not work If I passed Arabic letters to the data parameter. #5

Closed xSuperMu closed 2 years ago

xSuperMu commented 2 years ago

The issue appears on Sunmi V2.

When adding any Arabic Text, something like

SunmiPrinter.printQRCode('ال كيو ار كود لا يعمل')

the printer stuck on this line.

it prints any other thing before this line. but when it reaches this line it get stuck.

brasizza commented 2 years ago

Well mate i have never tested arabit text with qrcode printer. can u try this like in the document example?

商米科技 SUNMI Technology

There is a lot of things that arabic is not possible, like print rowText , i think qrcode is the same.

brasizza commented 2 years ago

add me on Discord then i can upgrade the git version for you to try. I don't have this equipment i have this one sunmi

Brasizza#7615