Closed marrobHD closed 2 years ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
ok, i will merge this now, since i want to support hp and epson scanners, of course :slightly_smiling_face:
i will try to find a somehow "nice" option to let users configure both scanners (and probably others)
@eresturo Maybe we should add manufacturer specific parameters for scanimage in the script which then can be manually called via manufacturer=epson | hp | canon [auto identify manufacturer, defaults to hp]
parameter for scan.py.
Scanimage seems to use the first device that appears via scanimage -L
by default:
scanimage -L | head -n 1
device `epson2:libusb:001:010' is a Epson PID 08C6 flatbed scanner
So we could prioritize the manually specified scanning device (--device DEVICE
) and default to the first line output of scanimage -L
.
Edit: I thought way too complicated.
sorry i missed your proposal here before implementing the "command config".
you are right, one could do somehow automatically. We could scan sane's documentation to be compatible with every scanner, but i am too lazy :laughing:
It's a command line tool, so propably only nerds are using it... They will figure it out, i guess.
Here is mine (Epson XP 860);