if you only have one scanner, you dont need to use the -d argument. allan
On Sat, Jan 16, 2010 at 6:27 AM, Josu Lazkano <josu.lazkano at gmail.com> wrote: > Hello everybody! I have a HP ScanJet 2400 scanner. I can scan normally with > this command: > > scanimage -d hp2400:libusb:001:006 --format=tiff > Desktop/image.tiff > > But if I change the scanner USB port, the device address change: > > $ scanimage -L > device `hp2400:libusb:001:004' is a Hewlett-Packard hp2400 flatbed scanner > > $ scanimage -L > device `hp2400:libusb:001:005' is a Hewlett-Packard hp2400 flatbed scanner > > $ scanimage -L > device `hp2400:libusb:001:006' is a Hewlett-Packard hp2400 flatbed scanner > > I use the "scanimage" command on a script, so if I change the USB port I > must edit script. > > Is possible to assign always the same port? > > Thanks for all!!! > > -- > Josu Lazkano > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin"
