Georgi Naplatanov (12020-07-27):
https://linux.die.net/man/1/scanimage
"The -d or --device-name options must be followed by a SANE device-name
like 'epson:/dev/sg0' or 'hp:/dev/usbscanner0'. A (partial) list of
available devices can be obtained with the --list-devices option (see
below). If no device-name is specified explicitly, scanimage reads a
device-name from the environment variable SANE_DEFAULT_DEVICE. If this
variable is not set, scanimage will attempt to open the first available
device. "
Thanks.
Unfortunately, it does not work: for GUI tools, this environment
variable pre-selects the device in the device selection dialog, but it
does not make it appear if it is not detected (?!???@!%@?!!!?).
Also, it works for only one scanner.
Regards,