it could be done in the backend, but it would be easier to use an
external program to do it, something from the netpbm package will do
it...

allan

On 5/25/08, Guillaume <guillcdv at gmail.com> wrote:
> m. allan noah a ?crit :
>
> > why did you pick sane 1.0.12, is that the version that was on your last
> os?
> >
> >
>  I just picked the not too old one which would compile on my system to see
> if it would make any difference.
>
>  After some web searching here is the ubuntu 7.10 version
>
> /pool/main/s/sane-backends/sane-backends_1.0.19~cvs20070505-3ubuntu2.dsc
> /pool/main/s/sane-backends/sane-backends_1.0.19~cvs20070505-3ubuntu2.diff.gz
> /pool/main/s/sane-backends/sane-backends_1.0.19~cvs20070505.orig.tar.gz
>
>  and for ubuntu 7.04:
> /pool/main/s/sane-backends/sane-backends_1.0.18-3ubuntu1.dsc
> /pool/main/s/sane-backends/sane-backends_1.0.18-3ubuntu1.diff.gz
> /pool/main/s/sane-backends/sane-backends_1.0.18.orig.tar.gz
>  /pool/main/x/xsane/xsane_0.99+0.991-1ubuntu2.dsc
>  /pool/main/x/xsane/xsane_0.99+0.991-1ubuntu2.diff.gz
>  /pool/main/x/xsane/xsane_0.99+0.991.orig.tar.gz
>
>  In all cases, the gray scale option is not available. I may have dreamed of
> it then. Sorry for the trouble.
>
>  The question is now : is it possible to add the grayscale option to the
> front-ends for the HP5400 driver ? I'm scanning a lot of bank statements and
> color is not a good idea
>
>
>  Thanks.
>  Guillaume
>
>
>
>
> > allan
> >
> > On Wed, May 21, 2008 at 2:05 PM, Guillaume <guillcdv at gmail.com> wrote:
> >
> >
> > > m. allan noah a ?crit :
> > >
> > >
> > > > there have been no recent changes to the hp5400 backend. can you
> > > > please verify that the grayscale option did appear in prior versions
> > > > of sane?
> > > >
> > > > allan
> > > >
> > > >
> > > >
> > > Hi,
> > > to answer this properly I'm trying to rebuild an old version
> > > Here is the script I'm using:
> > >
> > > #!/bin/sh
> > > cd ~/Download
> > > tar xf sane-backends-1.0.12.tar.gz
> > > tar xf sane-frontends-1.0.12.tar.gz
> > >
> > > rm -rf $HOME/sane
> > > mkdir -p $HOME/sane
> > >
> > > export PATH=$HOME/sane/bin:$PATH
> > > export
> LD_LIBRARY_PATH=$HOME/sane/lib:$HOME/sane/lib/sane
> > > export LD_RUN_PATH=/home/guill/sane/lib
> > >
> > > cd sane-backends-1.0.12
> > > make distclean
> > > ./configure --prefix $HOME/sane
> > > make && make install
> > >
> > > cd ..
> > > cd sane-frontends-1.0.12
> > > export PATH=$HOME/sane/bin:$PATH
> > > export
> LD_LIBRARY_PATH=$HOME/sane/lib:$HOME/sane/lib/sane
> > > export LD_RUN_PATH=/home/guill/sane/lib
> > >
> > > make distclean
> > > ./configure --prefix $HOME/sane
> > > make && make install
> > >
> > > sane-find-scanner
> > >
> > >
> > > runs fine until the sane-find-scanner which is unable to find my scanner
> :
> > > guill at Salsa:~/Download$ lsusb
> > > Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus
> 003
> > > Device 001: ID 0000:0000 Bus 002 Device 002: ID 03f0:1105
> Hewlett-Packard
> > > ScanJet 5470c
> > > Bus 002 Device 001: ID 0000:0000 Bus 001 Device 005: ID 05a9:4519
> OmniVision
> > > Technologies, Inc.
> > > Bus 001 Device 004: ID 046d:c00e Logitech, Inc. M-BJ69 Optical Wheel
> Mouse
> > > Bus 001 Device 001: ID 0000:0000 guill at Salsa:~/Download$ scanimage -L
> > >
> > > No scanners were identified. If you were expecting something different,
> > > check that the scanner is plugged in, turned on and detected by the
> > > sane-find-scanner tool (if appropriate). Please read the documentation
> > > which came with this software (README, FAQ, manpages).
> > > guill at Salsa:~/Download$ scanimage -V
> > > scanimage (sane-backends) 1.0.12; backend version 1.0.12
> > >
> > > whereas the default installation gives
> > > guill at Salsa:~$ scanimage -L
> > > device `hp5400:libusb:002:002' is a Hewlett-Packard HP54xx Flatbed
> Scanner
> > > flatbed scanner
> > > guill at Salsa:~$ scanimage -V
> > > scanimage (sane-backends) 1.0.19; backend version 1.0.19
> > >
> > > I'm doing something wrong but I can't figure it out. Any clue so that I
> can
> > > investigate further for you ?
> > > Thanks
> > > Guillaume
> > >
> > > --
> > > depuis Ubuntu 8.04 GNU/Linux
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
>
>
>  --
>  depuis Ubuntu 8.04 GNU/Linux
>
>


-- 
"The truth is an offense, but not a sin"

Reply via email to