brasizza / sunmi_printer

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

Support set font italic #40

Open vyendn3 opened 2 years ago

vyendn3 commented 2 years ago

Could you support add italic font size?

brasizza commented 2 years ago

I think sunmi doesn't have it native, you can use escpos to try it

vyendn3 commented 2 years ago

This is Sunmi native SDK:
sunmiPrinterService.setPrinterStyle(WoyouConsts.ENABLE_ILALIC, WoyouConsts.ENABLE);

brasizza commented 2 years ago

That's LGTM but i will need time to enabe this printerStyle. do you know how to use packages from git? if you do, please concat me via discord that i can do it and then you can test before i increase the package!

Brasizza#7615