[sane-devel] define custom settings for epkowa

Olaf Meeuwissen paddy-hack at member.fsf.org
Tue Dec 1 11:01:25 GMT 2020


Hi,

mailinglisten at posteo.de writes:

> Hi there!
>
> I use an Epson multifunctional device, a BX305F, almost 10 years old.
>
> I mostly use the epkowa backend and its /etc/sane.d/epkowa.conf config file.
>
> scanimage -A shows the available options for this device, I would like
> to set a default contrast value.
>
> I tried these lines in epkowa.conf:
>
> contrast 23
> contrast=23
> "contrast" 23
> --contrast 23
>
> None of them worked....
>
> I often use LibreOffice for scanning documents to get them quickly into
> the office app.
>
> No matter what I try in epkowa.conf, the LibreOffice scan menu always
> shows the same default values, which is e.g. contrast 0.
>
> How the heck can I now make some custom settings in the epkowa.backend?

Sorry, but you cannot set any defaults in epkowa.conf beyond what is
documented in that file itself.  So, the only thing you can default is
setting the document source to prefer the ADF.  I believe your BX305F
has one.

> Thanks a lot for any hint !

Maybe you can make LibreOffice remember a bunch of defaults?

Another option is writing a little shell script wrapper (or define a
shell alias) around scanimage that sets your prefered defaults.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join



More information about the sane-devel mailing list