Skip to content

Instantly share code, notes, and snippets.

@ayxos
Created April 24, 2020 19:41
Show Gist options
  • Save ayxos/a300562bc4bb0b7dd43c0e404118d70c to your computer and use it in GitHub Desktop.
Save ayxos/a300562bc4bb0b7dd43c0e404118d70c to your computer and use it in GitHub Desktop.
Scanner
git clone https://github.com/sbs20/scanservjs
sudo apt install -y nodejs
sudo apt-get install npm sane-utils imagemagick`
npm install
npm install -g gulp-cli
gulp
cd ./build/scanservjs
node /server.js
// Add current User to group
sudo usermod -a -G lp $USER
// Change permissions
sudo chgrp -R lp 001 002 003 004
// Scan devices
sane-find-scanner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment