sane-project-website/old-archive/2001-02/0248.html

134 wiersze
5.2 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="Tue Feb 27 22:57:40 2001" -->
<!-- isoreceived="20010228065740" -->
<!-- sent="Wed, 28 Feb 2001 07:25:54 +0100" -->
<!-- isosent="20010228062554" -->
<!-- name="mh" -->
<!-- email="crapsite@gmx.net" -->
<!-- subject="Re: Writing Fujitsu M3091 backend" -->
<!-- id="01022808033400.00622@slowcrap" -->
<!-- inreplyto="3A9C8981.DC766BD@martoneconsulting.com" -->
<STRONG>From:</STRONG> mh (<A HREF="mailto:crapsite@gmx.net?Subject=Re:%20Writing%20Fujitsu%20M3091%20backend&In-Reply-To=&lt;01022808033400.00622@slowcrap&gt;"><EM>crapsite@gmx.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Feb 27 2001 - 22:25:54 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0249.html">Christoph Knauer: "xsane 0.72 win crashes"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0247.html">Tom Martone: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0247.html">Tom Martone: "Re: Writing Fujitsu M3091 backend"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0251.html">Nick Lamb: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0251.html">Nick Lamb: "Re: Writing Fujitsu M3091 backend"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#248">[ date ]</A>
<A HREF="index.html#248">[ thread ]</A>
<A HREF="subject.html#248">[ subject ]</A>
<A HREF="author.html#248">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Tom Martone, Mit, 28 Feb 2001 :
<BR>
[...]
<BR>
<EM>&gt; As far as sending multiple pages to the front end(s), the current SANE
</EM><BR>
<EM>&gt; standard supports this very well. I think that you should stay away
</EM><BR>
<EM>&gt; &gt;from your duplex=hack approach and stay with two separate pages. A
</EM><BR>
<EM>&gt; single sheet scanned in duplex will look like two sheets scanned
</EM><BR>
<EM>&gt; single sided with an ADF.
</EM><BR>
<P>The current SANE Standard says absolutely nothing about sending multiple
<BR>
pages to the frontends(IMHO). It's quite clear, that a frontend can call
<BR>
sane_start() more than once, but in fact, the SANE Standard leaves this
<BR>
decision to the frontend.
<BR>
&quot;... If the frontend expects additional frames...,it can call sane_start())
<BR>
again.&quot;
<BR>
<P>There's no way for a backend to tell the frontend, that it actually wants
<BR>
to send additional images. This, however, could easily be solved with a
<BR>
simple flag in SANE_Parameters.
<BR>
<P><EM>&gt; As far as front-ends go, xsane supports ADF mode and can deal with
</EM><BR>
<EM>&gt; multiple pages in a single scan operation. For a command line, I took
</EM><BR>
<EM>&gt; scanimage and reworked it into scanadf, which will also work with ADF
</EM><BR>
<EM>&gt; and duplex scanners. The backend needs to reliably and correctly
</EM><BR>
<EM>&gt; return the SANE_STATUS_NO_DOCS status code when the scanner is out
</EM><BR>
<EM>&gt; of paper in the hopper. Look at the read loop in xsane and scanadf
</EM><BR>
<EM>&gt; for the call sequence.
</EM><BR>
<P>In fact, scanning with an ADF doesn't mean that you can scan multiple
<BR>
pages in a single scan operation; it just means that the frontend can
<BR>
automatically proceed with the next scan operation(without user interaction).
<BR>
<P>IMHO, it would be better (and easier), to make a small change in the
<BR>
SANE Standard instead of trying to &quot;hack around&quot; the obviously existing
<BR>
insufficiencies in the current implementation.
<BR>
<P>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;01022808033400.00622@slowcrap&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0249.html">Christoph Knauer: "xsane 0.72 win crashes"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0247.html">Tom Martone: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0247.html">Tom Martone: "Re: Writing Fujitsu M3091 backend"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0251.html">Nick Lamb: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0251.html">Nick Lamb: "Re: Writing Fujitsu M3091 backend"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#248">[ date ]</A>
<A HREF="index.html#248">[ thread ]</A>
<A HREF="subject.html#248">[ subject ]</A>
<A HREF="author.html#248">[ 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>Tue Feb 27 2001 - 23:00:23 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>