[sane-standard] Using id instead of title for well known sources

Étienne Bersac bersace03 at laposte.net
Sat Jan 20 16:18:26 CET 2007


Hi,

As i review the SANE 2 standard, i notice that 'source' option use title
as string. Those strings are longer (especially for ADF). But the
frontend has to know wether a source is ADF or manully feeded, in order
to loop or not the acquisition until "NO_DOCS" is returned. Therefore,
frontend needs to parse this string. Using ids instead of title helps
parsing source.

I suggest to use :

      * flatbed
      * adf
      * adf-front
      * adf-back
      * sheetfed
      * film

We'd state that all source not starting with adf are manual.

Please comment.

Étienne.
-- 
Verso l'Alto !
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/sane-standard/attachments/20070120/7e36eaa2/attachment.pgp


More information about the sane-standard mailing list