rusel1989 / react-native-bluetooth-serial

Port of https://github.com/don/BluetoothSerial for react native
475 stars 292 forks source link

Auto cut functionality #76

Open mtahir08 opened 6 years ago

mtahir08 commented 6 years ago

I want to use auto cut functionality. Can anyone knows how to do it. Thanks

mtahir08 commented 6 years ago

Anyone can help?

hasanej commented 5 years ago

Hello, hope you already found the solution. First thing you have to do is to make sure your bluetooth printer got that feature. Assuming it has, here is a reference. You can use escpos-xml and use TextLine as described here https://www.npmjs.com/package/escpos-xml

It will cut the paper automatically. And last, please close this issue if it already solved @mtahir08