I have experimented with changing the SANE_STATUS_INVAL to SANE_STATUS_GOOD and
got it to go a bit further, but I still believe it has to be handled in the
frontend.
The frontend, should verify what is available, before puting an options to set it
on the screen.
I had similar problems with the "scanner.cgi" perl script, but that was much
easier to fix by doing some test before writing it to the form.
Or to simply not try to set values that are '0'.
Chris, I'm moving to Europe this wednesday, so I won't be much help after
wednesday to do any testing on my system.
Even if I will still have access via ssh, changing page in the scanner will be
hard ;-).
Actually I was hoping to be able to get that TWAIN driver to work before leaving,
so they can use the scanner to FAX pages... oh well...
/ac
Chris Pinkham wrote:
> > > I got it, but having problmes with the artec backend.
> > >
> > > It seem that the BRIGHTNESS and some other options are not always supported
> > > by some backends.
> >
> > If the artec backend reports an option "BRIGHTNESS", but when you set it,
> > falls over or does something stupid, then it is broken. If the TWAIN
>
> As the author of the Artec backend awakens from his holiday slumber......
>
> The low-end models of the Artec scanners do not support brightness in
> hardware. There is a brightness option, but it is defined as being
> INACTIVE (visible by doing a scanimage -h). From looking at other
> backends, it looks like when an option is inactive, the backends do the
> same thing the Artec backend does if you try to set that option with
> sane_control_option(), they return SANE_STATUS_INVAL. I have downloaded
> the winsane frontend but don't have Windows installed anywhere here at my
> house in order to test it. Guess that old 486 might get used after all. :-)
> I don't know if this is why the program was messing up for Andre, but
> it may be the frontend does not handle SANE_STATUS_INVAL.
>
> For the low-end Artec scanners (which I happen to have one of) I'm going
> to have to do the brightness in software according to the docs. The
> high-end Artec models support brightness in hardware, but I have not yet
> implemented it (actually I think they support brightness per RGB channel).
>
> Chris
>
> *****************************************************************************
> ** Chris Pinkham Linux v2.2.0-pre3, Sane v1.00, GIMP v1.0 **
> ** cpinkham@sh001.infi.net http://www4.infi.net/~cpinkham/ **
> *****************************************************************************
>
> --
> Source code, list archive, and docs: http://www.mostang.com/sane/
> To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
-------------------------------------------------------------------------- Andre Couture 938934 Ontario Inc. mailto:acouture@videotron.ca
mailto:search_n_find@yahoo.com
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com