[sane-devel] Weird behavior setting option on epsonscan2

Ralph Little skelband at gmail.com
Fri Dec 2 22:42:36 GMT 2022


Hi,

On Fri, Dec 2, 2022 at 2:28 PM Thiago Milczarek Sayão <
thiago.sayao at gmail.com> wrote:

> Hi,
>
> I've downloaded epson drivers here:
> https://support.epson.net/linux/en/epsonscan2.php
>
> Scanning generally works, but there's one option behaving weird:
>
> SaneOptionDescriptor {
>     name='mode',
>     title='Scan mode',
>     desc='Selects the scan mode (e.g., lineart, monochrome, or color).',
>     type=SANE_TYPE_STRING,
>     unit=SANE_UNIT_NONE,
>     size=11,
>     cap=5,
>     constraintType=SANE_CONSTRAINT_STRING_LIST, list=[Color, Grayscale,
> Monochrome]
>  }
>
> When I set this option to Color, Grayscale or Monochrome scanning it will
> return SANE_STATUS_NO_DOCS as if
>
> SaneOptionDescriptor {
>     name='source',
>     title='Scan source',
>     desc='Selects the scan source (such as a document-feeder).',
>     type=SANE_TYPE_STRING,
>     unit=SANE_UNIT_NONE,
>     size=8,
>     cap=5,
>     constraintType=SANE_CONSTRAINT_STRING_LIST, list=[ADF, Flatbed]
> }
>
> was set to ADF. But I'm always sure to set to Flatbed.
>
>
> Does it make a difference if you change the order of the option sets?
Some options (typically mode and source) request a reload of options as
other options can be affected.

Cheers,
Ralph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20221202/1b8f813d/attachment-0002.htm>


More information about the sane-devel mailing list