sane-project-website/old-archive/2001-03/0006.html

168 wiersze
6.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: Writing Fujitsu M3091 backend</TITLE>
<META NAME="Author" CONTENT="mh (crapsite@gmx.net)">
<META NAME="Subject" CONTENT="Re: Writing Fujitsu M3091 backend">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Writing Fujitsu M3091 backend</H1>
<!-- received="Thu Mar 1 09:07:24 2001" -->
<!-- isoreceived="20010301170724" -->
<!-- sent="Thu, 1 Mar 2001 16:24:39 +0100" -->
<!-- isosent="20010301152439" -->
<!-- name="mh" -->
<!-- email="crapsite@gmx.net" -->
<!-- subject="Re: Writing Fujitsu M3091 backend" -->
<!-- id="01030117213800.04848@slowcrap" -->
<!-- inreplyto="20010301141441.B2704@ecs.soton.ac.uk" -->
<STRONG>From:</STRONG> mh (<A HREF="mailto:crapsite@gmx.net?Subject=Re:%20Writing%20Fujitsu%20M3091%20backend&In-Reply-To=&lt;01030117213800.04848@slowcrap&gt;"><EM>crapsite@gmx.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Mar 01 2001 - 07:24:39 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0007.html">Oliver Rauch: "Re: Writing Fujitsu M3091 backend"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0005.html">Nick Lamb: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0005.html">Nick Lamb: "Re: Writing Fujitsu M3091 backend"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0008.html">Frederik Ramm: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0007.html">Oliver Rauch: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0008.html">Frederik Ramm: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0009.html">Oliver Rauch: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0010.html">Oliver Rauch: "Re: Writing Fujitsu M3091 backend"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#6">[ date ]</A>
<A HREF="index.html#6">[ thread ]</A>
<A HREF="subject.html#6">[ subject ]</A>
<A HREF="author.html#6">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Nick Lamb, Don, 01 M<>r 2001 :
<BR>
<EM>&gt; On Thu, Mar 01, 2001 at 10:34:13AM +0100, mh wrote:
</EM><BR>
<EM>&gt; &gt; There is no &quot;well known option&quot; or a flag in SANE_Parameters which tells the
</EM><BR>
<EM>&gt; &gt; frontend that it should continue with image acquisition. Therefore you
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; There is a return code, SANE_STATUS_NO_DOCS which indicates that we've
</EM><BR>
<EM>&gt; run out of paper, or some analagous problem has occurred, this is what
</EM><BR>
<EM>&gt; you want I think.
</EM><BR>
<P>Yes, I know, and I'm sure it would work this way, *but* it's also a hack:
<BR>
A SANE_STATUS_NO_DOCS is an status code and should probably not be abused
<BR>
to solve this problem.
<BR>
I just made some tests, not with a real ADF scanner but with my test-backend,
<BR>
which can simulate all those status codes:
<BR>
The graphical frontends normally inform the user, if a sane_read() returns
<BR>
SANE_STATUS_NO_DOCS. How can you avoid this, if you're scanning in &quot;duplex&quot;
<BR>
mode? Doesn't this mean, that you always get this message when you're using
<BR>
this mode? This would be even more confusing, if you have an ADF scanner
<BR>
(filled with 100 documents) which can also use the &quot;duplex&quot; mode. And there's
<BR>
no chance for the frontend to suppress this message, since it doesn't know about
<BR>
it(no well known option). (Or *does* e.g. XSane suppress this message in ADF
<BR>
mode?)
<BR>
<P><EM>&gt; &gt; have the following possibilities:
</EM><BR>
<EM>&gt; &gt; -let the user hit the scan button for each single scan operation
</EM><BR>
<EM>&gt; &gt; -let the user set the number of scans, and then try to acquire this number of
</EM><BR>
<EM>&gt; &gt; scans.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; -scan images until the backend returns SANE_STATUS_NO_DOCS indicating
</EM><BR>
<EM>&gt; that it doesn't have anything left worth scanning.
</EM><BR>
<P>This means, that the user must set the frontend to some &quot;special&quot; ADF
<BR>
mode and activate the &quot;duplex&quot;-option or how does the frontend know, that it
<BR>
should continue scanning 'til SANE_STATUS_NO_DOCS?
<BR>
E.g. for XSane it would mean, that you have to open the settings menu, open
<BR>
the configuration dialog, choose ADF source just to get the two images?
<BR>
BTW can one use the ADF mode in XSane without having an ADF?
<BR>
<P><EM>&gt; This is what all the existing software which supports ADF does AFAIK.
</EM><BR>
<EM>&gt; Some future version of the standard should spell this out in the advice
</EM><BR>
<EM>&gt; for implementers.
</EM><BR>
<P>Well, I never understood, why ADF should mean: &quot;scan all documents&quot;.
<BR>
(even if it might be useful in some/most situations)
<BR>
There might be persons that put 50 documents in there doc feeder and then
<BR>
just want to scan 5 or 10, do something with the scans and then scan the next 5
<BR>
or 10.
<BR>
<P>Waiting for your comments ...
<BR>
Michael
<BR>
<P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Writing%20Fujitsu%20M3091%20backend&In-Reply-To=&lt;01030117213800.04848@slowcrap&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0007.html">Oliver Rauch: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0005.html">Nick Lamb: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0005.html">Nick Lamb: "Re: Writing Fujitsu M3091 backend"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0008.html">Frederik Ramm: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0007.html">Oliver Rauch: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0008.html">Frederik Ramm: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0009.html">Oliver Rauch: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0010.html">Oliver Rauch: "Re: Writing Fujitsu M3091 backend"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#6">[ date ]</A>
<A HREF="index.html#6">[ thread ]</A>
<A HREF="subject.html#6">[ subject ]</A>
<A HREF="author.html#6">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Thu Mar 01 2001 - 09:09:23 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>