escpos-usb-fix
v3.0.0-alpha.4-fix-2
Published
usb adapter for escpos (usb version fix)
Downloads
4
Readme
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.