Surile / react-native-sunmi-printer

商米内置打印机
MIT License
43 stars 28 forks source link

Responsive and Chinese language issue #51

Open ahmedfaraz587 opened 2 months ago

ahmedfaraz587 commented 2 months ago

I am having issues with responsiveness when using the English and Chinese languages. The issue is my words cut off from the middle instead of moving into the next line. Do you know how I can solve this issue?

Surile commented 2 months ago

What is the specific code?

ahmedfaraz587 commented 2 months ago

For example: SunmiPrinter.printerText('React Native combines the best parts of native development with React, a best-in-class JavaScript library for building user interfaces.');

Them the receipt will look like that

"React Native combines the be st parts of native develop ment with React, a best-in-cl ass JavaScript library for bui lding user interfaces"

Surile commented 2 months ago

I see. I'm on vacation at the moment. Would you mind waiting until the end of my vacation?