I am trying to print with thermal printer , i am using node-escpos module to print it is working well with linux but in windows i'm getting error.node escpos LIBUSB_ERROR_NOT_SUPPORTED
Error: LIBUSB_ERROR_NOT_SUPPORTED
at Device.usb.Device.open (C:\Users\Prashanth\Desktop\pos\node_modules\usb\usb.js:38:7)
at USB.open (C:\Users\Prashanth\Desktop\pos\node_modules\escpos\adapter\usb.js:107:15)
at Object.<anonymous> (C:\Users\Prashanth\Desktop\pos\node_modules\escpos\examples\barcode.js:20:8)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
at startup (internal/bootstrap/node.js:283:19)
I have tried On Windows, Use Zadig to install the WinUSB driver for your USB device.but its not showing any thing as they mention zadig site
Used zadig to make this work. If this is still an open thread you can let me know. But major drawback of this is on every Windows OS you have to install zadig and configure USB properties which is going to be real pain and not a scalable option at all.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With