@vendmachine/printer
v2.2.2
Published
Integration of 'custom' printers via USB
Downloads
7
Readme
Main
Integration of 'custom' printers via USB
Start
Corepack enable
corepack enable
Install dependencies
yarn install
Create env file by
.env.example
Other dependencies
- On Linux, you'll need libudev to build libusb.
- On Ubuntu/Debian:
sudo apt-get update
, thensudo apt-get install build-essential libudev-dev
- On Windows, Use Zadig to install the WinUSB driver for your USB device.
Otherwise you will get LIBUSB_ERROR_NOT_SUPPORTED when attempting to open devices.
Find Printers
Run the next command to find the printers connected to the computer.
yarn find-printers