escpos-usb-fix

3.0.0-alpha.4-fix-2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i escpos-usb-fix

Weekly Downloads

3

Version

3.0.0-alpha.4-fix-2

License

MIT

Unpacked Size

6.51 kB

Total Files

4

Last publish

Collaborators

  • car1ot