Comments (5)
I have solved this problem already.
Since the column width is calculated by the length of the characters and the Thai characters is not supported to count the length of Thai floating vowels. It counts consonant and inline vowel only.
So, I solved this problem by creating a method to count Thai floating vowels.
Like this
And add the counted floating vowel length to the constant width to the column of Thai text.
Like this
Finally, It should work fine.
from react-native-bluetooth-escpos-printer.
from react-native-bluetooth-escpos-printer.
from react-native-bluetooth-escpos-printer.
Yes, It is Thai.
from react-native-bluetooth-escpos-printer.
@9wisit May I ask what thermal printer brand and model are you using? Does it work on both Android and iOS?
from react-native-bluetooth-escpos-printer.
Related Issues (20)
- How to print a QRCode centered using BluetoothEscposPrinter.printQRCode?
- BT NOT ENABLED
- Keep Force Close in iOS HOT 3
- Having bug when Manual linking (Android) HOT 2
- Cannot connect to CPCL Printer
- Error: Requiring module "node_modules\react-native-bluetooth-escpos-printer\index.js", which threw an exception HOT 2
- Is it compatible with all escpos printers? HOT 1
- App crash or get disconnected after 6-7 tickets HOT 1
- Error Build release apk HOT 2
- In this print package i am trying to print the indian Rupee symbol (₹) with amount but it is not printing it is printing other symbol (?) HOT 1
- 'imageRef passed is not a CGImageRef' was thrown while invoking printQRCode
- Can not Connect in iOS HOT 2
- App crash when connnecting Bluetooth on android 14 HOT 5
- Scan Error HOT 2
- hasil dari print TSC menampilkan seluruh fungsi dari options, bagaimana cara mengatasinya HOT 1
- korean language?
- Remove white space after print image ?
- Best printer package, but we need an update!!!! HOT 2
- Application crashes on android versions greater than 10. HOT 3
- I cannot print accented Vietnamese
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-bluetooth-escpos-printer.