USB(vid, pid)
const escpos = require('escpos');
escpos.USB = require('escpos-usb');
const usbDevice = new escpos.USB(0x01, 0xff);
vid(Vendor Id) and pid (Product Id) can be checked with the lsusb
command or escpos.USB.findPrinter()
method.
const escpos = require('escpos');
escpos.USB = require('escpos-usb');
const usbDevice = new escpos.USB(0x01, 0xff);
vid(Vendor Id) and pid (Product Id) can be checked with the lsusb
command or escpos.USB.findPrinter()
method.
npm i bthrust-escpos-usb
0
0.0.1
MIT
6.48 kB
4