andrey-ushakov / esc_pos_utils

Basic Flutter/Dart classes for ESC/POS printing
BSD 3-Clause "New" or "Revised" License
151 stars 339 forks source link

Thai printing issue #49

Open soubinkittiphanh opened 3 years ago

soubinkittiphanh commented 3 years ago

Thai character encoded with "cp874" PosCodeTable.thai_1&2 print result is unreadable

image

winterselmon commented 2 years ago

any update?

waqadArshad commented 1 year ago

Hi, it's very easy to support utf8 encoding which would help you print many languages. You just have to add an entry in the default section of capabilities.json and if you don't want to bother with that, you can use my fork:

https://github.com/waqadArshad/esc_pos_utils

as:

  esc_pos_utils:
    git:
      url: https://github.com/waqadArshad/esc_pos_utils.git

and if it fixes your issue, please remember to STAR the repo.