Re: Need scanner info, please (OS/2, but also others)

becka@rz.uni-duesseldorf.de
Thu, 16 Apr 1998 12:19:37 +0200 (MET DST)

Hi !

> I am writing a little program (it is called "fax 'n copy", a little
> utility for copying and faxing), and I want to support as many scanners as
> possible.
> Therefore I need the output of the following commands:
>
> *) scanimage -L
>
> and
>
> *) scanimage --help -d DEVICE (your device)
>
> Or, is there a different way to get these informations of all SANE supported
> scanners?

What do you need that output for ?

Please note, that frontends (I'd consider your program as something like
that) should not try to "detect" some scanner or its options due to the
options it exhibits.

An exception to it is the usage of predefined options defined in some SANE
file.

BTW: It looks like you are trying to make a wrapper for scanimage ...
Well - this is the quick way, but I think a cleaner way would be to make
the program a "real" frontend.

CU, Andy

-- 
= Andreas Beck                    |  Email :  <andreas.beck@ggi-project.org> =

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com