star-micronics / react-native-star-io10

react-native-star-io10 is a library for supporting application development for Star Micronics devices.
Other
83 stars 54 forks source link

Thai character support ? #24

Closed piyasil closed 2 years ago

piyasil commented 2 years ago

Is there any plan to support Thai character ? I find that there is a support of character encoding CodePage but

  1. How to assign the CodePage number ?
  2. The character encoding is not supported on printer I am using which is TSP650II.

I refer to this doc http://www.starmicronics.com/support/mannualfolder/linemode_cm_en.pdf The code page is on page 3-4 in which there is support for Thai (n = 21, codepage 874)

gare-bear commented 2 years ago

@piyasil TSP650II supports our Thai code page, so there's no such limitation on the printer side. If you printers firmware is 4.0 or higher, then i'd suggest you use UTF-8 character encoding to print Thai.

gare-bear commented 2 years ago

@piyasil we're you able to get it working?

piyasil commented 2 years ago

Yes, it was the hardware/firmware issue and my local dealer had it fixed.