Hi!

Thanks for (x)sane, I like them very much, although I have only recently
started using them.

However, I would prefer to write little wrapper script that could wait
for a button to be pressed, and then automatically do what "preview"
and "scan" does in xsane (in "save"-mode). Pressing Alt-P, wait and
then press Ctrl-enter is good, but it could be enhanced even more.

I have looked into the manpage of scanimage, but I don't see the
functionality of "preview" (with "autoenhance gamma", "preselect
scanarea" and "autocorrect colors" all set) in xsane there. The
--preview=yes does not seem to automatically enhance the gamma value,
nor automatically select the proper region to be scanned (I use a
Transparency unit).

Is scanimage the right tool for this? Or could I configure xsane to
"preview" and then "scan" automatically, thus saving that keystrokes
and the time it takes to wait for the preview?

I use xsane 0.97 (in ubuntu breezy) and libsane 1.0.17 (from
ubuntu dapper).

TIA

-- 
Hans Ekbrand (http://sociologi.cjb.net) <[email protected]>
GnuPG key: 1024D/7050614E
Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E
Learn about secure email at http://www.gnupg.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060410/fa26a0f6/attachment.pgp
From [email protected]  Mon Apr 10 20:30:37 2006
From: [email protected] (Christoph Knauer)
Date: Mon Apr 10 20:34:11 2006
Subject: [sane-devel] Preview-Scan with wrong colors
In-Reply-To: <[email protected]>
References: <[email protected]>
        <[email protected]>
Message-ID: <[email protected]>

Sorry,

it's a microtek SM X6 (SCSI) driven with the Microtek2-backend.

Greets,
CHristoph

Am Sonntag, 9. April 2006 23:52 schrieb Henning Meier-Geinitz:
> Hi,
>
> On 2006-04-08 22:09, Christoph Knauer wrote:
> > when I take a preview with e.g. A5across and setting for color, so the
> > preview seems to be verry green.
>
> It may help to tell us which scanner and which backend you use.
>
> Bye,
>   Henning

-- 
GPG-Fingerprint: 171A 6F66 52E5 A6CE D664 2427 832F E711 7442 8261
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060410/bd09c22e/attachment.pgp
From [email protected]  Tue Apr 11 03:15:50 2006
From: [email protected] (Tamkang)
Date: Tue Apr 11 03:16:31 2006
Subject: [sane-devel] FC 5 has problem when detecting sm 3600
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>



Olaf Meeuwissen <[email protected]> wrote: Tamkang 
 writes:

> I have a problem when want to debug the xsane to detect where the sm3600 was
> ???? it appears no device ? first of all the xsane in /usr/bin/xsane it work,
> then if in /usr/local/bin/xsane, it cannot find out the scanner ? and I have
> question to ask , because fc5 is have no /etc/hotplug anymore,??? and is being
> replace /etc/udev/60-libsane.rules, I already see the sm3600 is already there,
> is it the xsane will always look the data in 60-libsane.rules to see the
> device is supported by xsane /sane ? but why in sane-find-scanner it cannot
> find out the scanner, neither the scanimage -L but the xsane in /usr/bin/xsane
> it can work normally ?
> I need explaination

Would you happen to be running your FC5 with an SELinux policy that
enforces everything?  Try the Permissive policy instead.

When test driving iscan-2.0.0 on FC5 this worked around problems with
sane-dll not being to able to load iscan's epkowa backend (where all
backends from the sane-backends package were loaded fine).

Hope this helps,
-- 
Olaf Meeuwissen                          EPSON AVASYS Corporation, SE1
FSF Associate Member #1962           sign up at http://member.fsf.org/
GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97  976A 16C7 F27D 6BE3 7D90
Penguin's lib!       -- I hack, therefore I am --               LPIC-2

Well, it is ! I use SELinux in enable, and in enforcing mode, but after that I 
switch to permissive and then I reboot, but not work, it stil same problem, and 
then I switch the SELinux to disable now, and then reboot again, and then I 
still get the same problem, the problem is /usr/bin/./xsane can detect the 
scanner sm3600 but not the /usr/local/bin/./xsane , is it so weird ?  I already 
check /etc/sane.d/dll.conf with sm3600 inside, and then the 
/usr/local/etc/sane.d/dll.conf also has sm3600 in it but sane-find-scanner 
cannot find any of it , and also scanimage -L has same problem, cannot fount 
out any device ? I think I try to re-install fc5 again. to see what happend in 
here, but sorry I need to ask you this about fc5 problem, do you ever try to 
add /remove application in fc5 ? it seems weird too, I cannot add or remove my 
application, everytime I use the add/remove program, it will search information 
and very long time to take and then it said failed, and then exit the
 program ? haha.. I don't know if fc5 has not stable yet or what. 

Sofian

                
---------------------------------
How low will we go? Check out Yahoo! Messenger?s low  PC-to-Phone call rates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060410/88a3476a/attachment.htm
From [email protected]  Tue Apr 11 08:14:48 2006
From: [email protected] (Fibonacci Prower)
Date: Tue Apr 11 08:15:05 2006
Subject: [sane-devel] Re: CanoScan LiDE20 jamming with scanimage
In-Reply-To: <[email protected]>
References: <[email protected]>
Message-ID: <[email protected]>

Update: I tried with xsane, and... it still jams. And it hasn't yet jammed
under Windows.

-Fibo

2006/4/5, Fibonacci Prower <[email protected]>:
>
> Hello,
> First of all, I have no experience whatsoever with Linux, so I
> apologise in advance for any stupidity I might have made, or detail I
> might have omitted. That being said, I can proceed:
>
> I have just installed Fedora Core 5 (2.6.15-1.2054_FC5smp), and I'm
> trying to use the CanoScan LiDE20 scanner which, according to
> http://www.sane-project.org/sane-mfgs.html, is completely supported by
> SANE. sane-find-scanner detects it, but it jams (with the lamps on)
> whenever I try to scanimage, and nothing short of unplugging it from
> the PC will stop it. I reboot to Windows XP (ahh, the magic of
> dual-boot), and it scans perfectly well, not jamming at all (which
> proves that the scanner is working fine).
> I then reboot to Linux, sane-find-scanner finds it again, and
> scanimage makes it jam again. Terminating scanimage gives only a
> "Trying to stop scanner" message, but the scanner does not stop until
> I unplug it. Trying to run scanimage again (with the scanner plugged
> back in, of course) results in "scanimage: no SANE devices found",
> even though sane-find-scanner still sees it.
>
> What can I do about this problem?
>
> Thank you for your time,
>
> -Fibonacci
>



--
Ding dong! The bitch is dead!
Which old bitch? The wicked bitch!
Ding dong! The wicked bitch is dead!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060411/83860fc5/attachment.html
From [email protected]  Tue Apr 11 08:46:33 2006
From: [email protected] (Gerhard Jaeger)
Date: Tue Apr 11 08:47:15 2006
Subject: [sane-devel] Re: CanoScan LiDE20 jamming with scanimage
In-Reply-To: <[email protected]>
References: <[email protected]>
        <[email protected]>
Message-ID: <[email protected]>

On Tuesday 11 April 2006 10:14, Fibonacci Prower wrote:
> Update: I tried with xsane, and... it still jams. And it hasn't yet jammed
> under Windows.
> 
> -Fibo
> 
> 2006/4/5, Fibonacci Prower <[email protected]>:
> >
> > Hello,
> > First of all, I have no experience whatsoever with Linux, so I
> > apologise in advance for any stupidity I might have made, or detail I
> > might have omitted. That being said, I can proceed:
> >
> > I have just installed Fedora Core 5 (2.6.15-1.2054_FC5smp), and I'm
> > trying to use the CanoScan LiDE20 scanner which, according to
> > http://www.sane-project.org/sane-mfgs.html, is completely supported by
> > SANE. sane-find-scanner detects it, but it jams (with the lamps on)
> > whenever I try to scanimage, and nothing short of unplugging it from
> > the PC will stop it. I reboot to Windows XP (ahh, the magic of
> > dual-boot), and it scans perfectly well, not jamming at all (which
> > proves that the scanner is working fine).
> > I then reboot to Linux, sane-find-scanner finds it again, and
> > scanimage makes it jam again. Terminating scanimage gives only a
> > "Trying to stop scanner" message, but the scanner does not stop until
> > I unplug it. Trying to run scanimage again (with the scanner plugged
> > back in, of course) results in "scanimage: no SANE devices found",
> > even though sane-find-scanner still sees it.
> >
> > What can I do about this problem?
> >
> > Thank you for your time,
> >
> > -Fibonacci
> >
> 
Hi,

again my questions:
Which SANE version?
Which XSANE settings to scan? Preview scan? 150DPI scan?

And please don't answer directly to me, use the mailing list.
TIA
Gerhard

Reply via email to