[sane-devel] Proposals for scanimage and sane-find-scanner

abel deuring a.deuring@satzbau-gmbh.de
Sun, 13 Jan 2002 21:49:29 +0100


Henning Meier-Geinitz wrote:
> 
> Hi,
> 
> On Thu, Jan 10, 2002 at 08:22:34PM +0100, abel deuring wrote:
> > I like the idea. But perhaps we could add only one option (let's call it
> > "-f"), which would need a format parameter, like so:
> >
> > for the same output as from scanimage -L:
> >
> >    scanimage -f="device '%d' is a %v %m %t"
> >
> > to get the same output as with your proposal for scanimage -s:
> >
> >    scanimage -f='"%d" "%v" "%m" "%t"'
> >
> > to get the same output as with your variant "scanimage -S":
> >
> >    scanimage -f='DEVICE_FILE[%i]='%s'; DEVICE_VENDOR[%i]="%v";
> > DEVICE_MODEL[%i]="%m"; DEVICE_TYPE[%i]="%t"'
> 
> Looks nice. Anyone has a patch? :-)

I just commited one.

Abel