react-native-bluetooth-escpos-printer icon indicating copy to clipboard operation
react-native-bluetooth-escpos-printer copied to clipboard

I want to remove from printing unnecessary data like size,gap ,only print fresh text ?

Open joy-mollick opened this issue 3 years ago • 1 comments

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 .

joy-mollick avatar Nov 04 '21 12:11 joy-mollick

node_modules/react-native-bluetooth-escpos-printer/android/src/main/java/cn/jystudio/bluetooth/tsc/RNBluetoothTscPrinterModule.java

  1. comment from line no 72 to 87
  2. 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)

Venkat1P avatar May 13 '22 10:05 Venkat1P