mazenrashed / Printooth

A well documented, high-level Android interface that makes printing via bluetooth printers easier
Mozilla Public License 2.0
401 stars 114 forks source link

Cirillic string not printing #86

Open smaroff92 opened 3 years ago

smaroff92 commented 3 years ago

Hello, using CHARCODE_PC866 but printed not cirillic words. =(

Dumankrg2019 commented 2 years ago

Hello, using CHARCODE_PC866 but printed not cirillic words. =(

Hello. How did you solve this problem?

se-ti commented 1 year ago

It seems to be a mistype here https://github.com/mazenrashed/Printooth/blob/5674058107b1936e3bcfb52d3f925635c9481ea5/printooth/src/main/java/com/mazenrashed/printooth/data/printer/DefaultPrinter.kt#L54 @mazenrashed

CHARCODE_PC866 should be 17 decimal or 0x11, not 0x12 https://reference.epson-biz.com/modules/ref_escpos/index.php?content_id=32