React-Native 0.60+
$ yarn add rn-tsc-printer --save
- Not implemeted yet
- 🙏
import TSCPrinter from 'rn-tsc-printer';
- Create printer instance
const printer = new TSCPrinter({
ip: "192.168.1.39",
port: 9100,
paperWidth: 60,
paperHeight: 30,
});
await printer.open()
await printer.clear()
await printer.setup()
await printer.barcode({
x: 20,
y: 20,
height: 100,
narrow: 2,
wide: 0,
printText: false,
rotation: 0,
type: '128',
code: '1234567890'
})
await printer.print(1,1)
await printer.close()
- iOS sdk implementation
- image upload