react-native-bluetooth-escpos-printer
react-native-bluetooth-escpos-printer copied to clipboard
I want to remove from printing unnecessary data like size,gap ,only print fresh text ?
I used it in my app , it prints . It is okk . But I want to print fresh text like
Category : blue , Date : 11-04-2021, Test: testing .
Only like this above ,but it prints other unnecessary datas like
size 40 mm gap 20 mm direction 000 tss24 bf2 etc........
I don't want to print these values . Plz anyone help me to print fresh text ??? Urgent help needed .
node_modules/react-native-bluetooth-escpos-printer/android/src/main/java/cn/jystudio/bluetooth/tsc/RNBluetoothTscPrinterModule.java
- comment from line no 72 to 87
- Line 108 remove all args except last arg 't' (Note also remove the same in the addText method which is in another file TscCommand.java)