kopia lustrzana https://gitlab.com/sane-project/website
				
				
				
			
		
			
				
	
	
		
			99 wiersze
		
	
	
		
			4.4 KiB
		
	
	
	
		
			HTML
		
	
	
			
		
		
	
	
			99 wiersze
		
	
	
		
			4.4 KiB
		
	
	
	
		
			HTML
		
	
	
| <!-- 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>> </i><br>
 | ||
| <i>> </i><br>
 | ||
| <i>> Here's the patch I came up with:</i><br>
 | ||
| <i>> </i><br>
 | ||
| <i>> --- apple.c.orig        Wed Sep  2 00:35:21 1998</i><br>
 | ||
| <i>> +++ apple.c     Tue Sep  1 20:44:59 1998</i><br>
 | ||
| <i>> @@ -2501,7 +2501,7 @@</i><br>
 | ||
| <i>> </i><br>
 | ||
| <i>>        if (data_length)</i><br>
 | ||
| <i>>         {</i><br>
 | ||
| <i>> -         if (result[3] & 1)    /* Scanner Blocked: Retrieve data */</i><br>
 | ||
| <i>> +         if ((result[3] & 1) || data_av)       /* Scanner Blocked: Retrieve data */</i><br>
 | ||
| <i>>             {</i><br>
 | ||
| <i>>               DBG (IO_MESSAGE,</i><br>
 | ||
| <i>>                    "sane_read: (status) Available in scanner buffer %u.\n",</i><br>
 | ||
| <i>> </i><br>
 | ||
| <i>> At the end of the scan, the block flag has been dropped, yet there might</i><br>
 | ||
| <i>> be data in the scanner buffer.  If the check for the block flag fails, it</i><br>
 | ||
| <i>> immediately checks to see if there is any remaining data.  If so, the</i><br>
 | ||
| <i>> backend will empty the buffer for the last time.</i><br>
 | ||
| <i>> </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>> </i><br>
 | ||
| <i>> Cool.  Any way I could get a copy of the most recent copy of the sources</i><br>
 | ||
| <i>> to the Apple backend?  I would lilke to see what's happening with it thus</i><br>
 | ||
| <i>> far.</i><br>
 | ||
| <i>> </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>
 |