[sane-devel] Configs?
Stef
stef.dev at free.fr
Mon Oct 28 20:38:47 UTC 2013
On 28/10/2013 16:52, jerry wrote:
> Hello,
>
> I run a small business with three offices. I am writing an
> application for people in my remote offices ( who are emphatically NOT
> computer literate ) to send me scans. I have a Linux server in the
> home office, and an Ubuntu laptop in each remote office.
>
> Keeping it really simple, I wrote a Perl/TK application with a
> "send" button, and when they load a document in the ADF, press the
> send button, it magically comes to me.
>
> I have a Brother multifunction machine at each location.
>
> It proved relatively easy to get my local MFC working with the SANE
> API. But what about other makes and models of scanner? I'd like to
> make a reasonable effort to "future-proof" the thing.
>
> The SANE API does a good job of telling me what options exist, and
> what values they can take. But it doesn't tell me what they *mean*.
>
> Do people make up a table of translations for each scanner? Or do
> they try to do string matching - "Resolution" is kind of like
> "resolution" which is probably the same as "Scan Resolution" or "scan
> resolution" etc. ???
>
> - Jerry Kaidor ( jerry at tr2.com )
>
>
Hello,
there are "well known options" that are consistent in meaning
across all backends. They are defined in include/sane/saneopts.h . You
can rely on it to be stable. Others are special or specific options and
may only belong to only one backend.
Regards,
Stef
More information about the sane-devel
mailing list