Created
April 24, 2020 19:41
-
-
Save ayxos/a300562bc4bb0b7dd43c0e404118d70c to your computer and use it in GitHub Desktop.
Scanner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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