[sane-devel] Fwd: umax1220u: sane_start: Invalid argument
m. allan noah
kitno455 at gmail.com
Thu Dec 18 15:55:04 UTC 2008
well, it appears that the backend does not set default values for the
width and height (-x and -y)
so, in order to make a scan, you must specify them.
scanimage -x 210 -y 297 > image.pnm
On Thu, Dec 18, 2008 at 10:41 AM, D. Hugh Redelmeier <hugh at mimosa.com> wrote:
> | 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 
> Sets the resolution of the scanned image.
> --gray[=(yes|no)] [no]
> Do a grayscale rather than color scan
> -l 0..228.6mm 
> Top-left x position of scan area.
> -t 0..298.027mm 
> Top-left y position of scan area.
> -x 0..228.6mm 
> Width of scan-area.
> -y 0..298.027mm 
> Height of scan-area.
> Turn off scanner lamp
> Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
> List of available devices:
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> 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"
More information about the sane-devel