sane-project-website/old-archive/1998-09/0055.html

99 wiersze
4.4 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Mon Sep 7 03:11:54 1998 PDT" -->
<!-- sent="Mon, 07 Sep 1998 13:14:16 +0300" -->
<!-- name="Milon Firikis" -->
<!-- email="milonf@ariadne-t.gr" -->
<!-- subject="Re: Apple OneScanner/Color OneScanner status?" -->
<!-- id="" -->
<!-- inreplyto="Apple OneScanner/Color OneScanner status?" -->
<title>sane-devel: Re: Apple OneScanner/Color OneScanner status?</title>
<h1>Re: Apple OneScanner/Color OneScanner status?</h1>
<b>Milon Firikis</b> (<a href="mailto:milonf@ariadne-t.gr"><i>milonf@ariadne-t.gr</i></a>)<br>
<i>Mon, 07 Sep 1998 13:14:16 +0300</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#55">[ date ]</a><a href="index.html#55">[ thread ]</a><a href="subject.html#55">[ subject ]</a><a href="author.html#55">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0056.html">Milon Firikis: "Re: Re :- PIE (SCANACE) won't release technical info"</a>
<li> <b>Previous message:</b> <a href="0054.html">Bernd Schroeder: "Re: ADF for microtek2 backend"</a>
<li> <b>Maybe in reply to:</b> <a href="0023.html">Ian R. Justman: "Apple OneScanner/Color OneScanner status?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0061.html">Milon Firikis: "Re: Apple OneScanner/Color OneScanner status?"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Ian R. Justman wrote:<br>
<p>
[snip]<br>
<i>&gt; </i><br>
<i>&gt; </i><br>
<i>&gt; Here's the patch I came up with:</i><br>
<i>&gt; </i><br>
<i>&gt; --- apple.c.orig Wed Sep 2 00:35:21 1998</i><br>
<i>&gt; +++ apple.c Tue Sep 1 20:44:59 1998</i><br>
<i>&gt; @@ -2501,7 +2501,7 @@</i><br>
<i>&gt; </i><br>
<i>&gt; if (data_length)</i><br>
<i>&gt; {</i><br>
<i>&gt; - if (result[3] &amp; 1) /* Scanner Blocked: Retrieve data */</i><br>
<i>&gt; + if ((result[3] &amp; 1) || data_av) /* Scanner Blocked: Retrieve data */</i><br>
<i>&gt; {</i><br>
<i>&gt; DBG (IO_MESSAGE,</i><br>
<i>&gt; "sane_read: (status) Available in scanner buffer %u.\n",</i><br>
<i>&gt; </i><br>
<i>&gt; At the end of the scan, the block flag has been dropped, yet there might</i><br>
<i>&gt; be data in the scanner buffer. If the check for the block flag fails, it</i><br>
<i>&gt; immediately checks to see if there is any remaining data. If so, the</i><br>
<i>&gt; backend will empty the buffer for the last time.</i><br>
<i>&gt; </i><br>
<p>
Wait a minute. I have some questions.<br>
<p>
1) What scanner do you have? (OneScanner or ColorOneScanner, both?)<br>
<p>
2) How big is the internal buffer? (AppleScanner has 256 bytes)<br>
<p>
3) Before your patch: Does the backend was actually scanning? Did it<br>
open the lamp?<br>
<p>
4) After you patch: Does everything works as expected? In all modes?<br>
<p>
5) If (4==TRUE) what about the round offs in scan area that are imposed<br>
by the specific model you have. Note that in case of an unexpected round<br>
offs the SANE may wait bigger/smaller image and that may lead to<br>
undesired warnings and cropped images.<br>
<p>
Your patch looks that fixes a situation at the end of a scan. Although<br>
this is fine with me, the problems I had so far (other users actually<br>
had them) was that the scanner wasn't starting the scan at all.<br>
<p>
[snip]<br>
<p>
<i>&gt; </i><br>
<i>&gt; Cool. Any way I could get a copy of the most recent copy of the sources</i><br>
<i>&gt; to the Apple backend? I would lilke to see what's happening with it thus</i><br>
<i>&gt; far.</i><br>
<i>&gt; </i><br>
<p>
Nop there is no way to get newer sources than the ones that they are<br>
coming with the sane-0.74. I haven't code anything since then and I<br>
don't know anybody who did.<br>
<p>
Milon Firikis<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0056.html">Milon Firikis: "Re: Re :- PIE (SCANACE) won't release technical info"</a>
<li> <b>Previous message:</b> <a href="0054.html">Bernd Schroeder: "Re: ADF for microtek2 backend"</a>
<li> <b>Maybe in reply to:</b> <a href="0023.html">Ian R. Justman: "Apple OneScanner/Color OneScanner status?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0061.html">Milon Firikis: "Re: Apple OneScanner/Color OneScanner status?"</a>
<!-- reply="end" -->
</ul>