On 7/27/20 12:58 PM, Nicolas George wrote: > Hi. > > This may be an obvious thing, but I cannot find the answer. > > I can scan with: > > scanimage -d "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > xsane "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > > Where do I write this URL so that tools find it without having to tell > them each time? >
Here is the answer: 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. " HTH Kind regards Georgi