[sane-devel] Epson 1650: set_scan_area failed: Invalid argument

Henning Meier-Geinitz henning@meier-geinitz.de
Wed, 16 Oct 2002 12:19:52 +0200


Hi,

I'm no Epson expert but maybe some general comments:

On Wed, Oct 16, 2002 at 05:55:39AM -0400, Pierre Sarrazin wrote:
> I start xsane (0.86) from the command line and I can see the
> largest button on the scanner flicker a bit.  When I click
> Start (with parameters Viewer/Color/Full range/100/1.00/0.0/0.0),
> I get a dialog box that says:
> 
>     Failed to start scanner: Invalid argument
> 
> I did see the large button flicker again.  This seems to
> be a frequently reported error message.

That's the standard error message if no other error message is suited
better. It basically means: "I can't handle one of the
options/arguments you gave". If it happens when pressing the scan
button, it usually means you either selected a combination of options
that doesn't work or something is wrong with the geometry options.

> [epson] get para 0x80f03b0 0x80f0a58 tlx 215.899994 tly 43.794632 brx 215.899994 bry 297.179977 [mm]
> [epson] set_scan_area: 0x80f03b0 850 172 0 997
> [epson] sane_start: set_scan_area failed: Invalid argument

You are trying to scan an image with width == 0 (tlx==brx). Check the
sliders for the geometry in XSane. Maybe you swapped the top left and
bottom right edge of the image in the preview window?

Bye,
  Henning