Serial("port", options)
const escpos = ;escposSerialPort = ; const serialDeviceOnWindows = 'COM10';const serialDeviceOnLinux = '/dev/usb/lp0' baudRate: 14400 stopBit: 2;
Check the serialport package documentation for more options.
const escpos = ;escposSerialPort = ; const serialDeviceOnWindows = 'COM10';const serialDeviceOnLinux = '/dev/usb/lp0' baudRate: 14400 stopBit: 2;
Check the serialport package documentation for more options.
npm i escpos-serialport
111
3.0.0-alpha.4
MIT
3.95 kB
4