[sane-devel] Fwd: umax1220u: sane_start: Invalid argument

D. Hugh Redelmeier hugh at mimosa.com
Thu Dec 18 15:41:42 UTC 2008


| From: m. allan noah <kitno455 at gmail.com>

| On Wed, Dec 17, 2008 at 10:23 PM, D. Hugh Redelmeier <hugh at mimosa.com> wrote:

| > [umax1220u] sane_start
| > [umax1220u] UMAX_set_scan_parameters:
| > [umax1220u] color = 1
| > [umax1220u] xo    = 0, yo     = 0
| > [umax1220u] w     = 0, h      = 0
| > [umax1220u] xres  = 75, yres   = 75
| > [umax1220u] left  = 0, top    = 0
| > [umax1220u] right = 0, bottom = 0
| > scanimage: sane_start: Invalid argument
| > [umax1220u] sane_cancel: handle = 0x692080
| > [umax1220u] sane_cancel: canceling is unsupported in this backend
| > [umax1220u] sane_close
| > [umax1220u] UMAX_close_device:
| > [umax1220u] sane_exit
| >
| 
| yes- it appears odd that all of those values are 0. what is the output of
| 
| scanimage --help

Here it is.  I removed the part that does not depend on the device.
Note that the USB numbering may be different since I've been moving
the device between machines.

    Options specific to device `umax1220u:libusb:003:002':
	--resolution auto||75|150|300|600dpi [75]
	    Sets the resolution of the scanned image.
	--gray[=(yes|no)] [no]
	    Do a grayscale rather than color scan
	-l 0..228.6mm [0]
	    Top-left x position of scan area.
	-t 0..298.027mm [0]
	    Top-left y position of scan area.
	-x 0..228.6mm [0]
	    Width of scan-area.
	-y 0..298.027mm [0]
	    Height of scan-area.
	--lamp-off
	    Turn off scanner lamp

    Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.

    List of available devices:
	umax1220u:libusb:003:002



More information about the sane-devel mailing list