brasizza / sunmi_printer

BSD 3-Clause "New" or "Revised" License
38 stars 45 forks source link

not found serial number and version #13

Closed SamadDev closed 2 years ago

SamadDev commented 2 years ago

the printer version is: NOT FOUND the serial number is: NOT FOUND I use the issyzone post

brasizza commented 2 years ago

Are u binding the printer first?

SamadDev commented 2 years ago

what do you mean please can you explain more?

brasizza commented 2 years ago

what do you mean please can you explain more?

To get the serial and printer version you need to connect to the printer, and only works with sunmi ! you need to start your execution with

await SunmiPrinter.bindingPrinter(); and than you can get the serial number and version

SamadDev commented 2 years ago

yeah, I have used your GitHub example please let me know if I have to change or add anything to work, by the way, my printer is iassyzone pos.

SamadDev commented 2 years ago

i change the thermal and now is doing well