sane-project-website/old-archive/1998-11/0127.html

68 wiersze
2.8 KiB
HTML

<!-- received="Sun Nov 15 16:13:29 1998 PST" -->
<!-- sent="Sun, 15 Nov 1998 16:12:30 -0800 (PST)" -->
<!-- name="Brian J. Murrell" -->
<!-- email="sane-in@interlinx.bc.ca" -->
<!-- subject="questions regarding backend" -->
<!-- id="199811160012.QAA10211@pc.home.interlinx.bc.ca" -->
<!-- inreplyto="" -->
<title>sane-devel: questions regarding backend</title>
<h1>questions regarding backend</h1>
<b>Brian J. Murrell</b> (<a href="mailto:sane-in@interlinx.bc.ca"><i>sane-in@interlinx.bc.ca</i></a>)<br>
<i>Sun, 15 Nov 1998 16:12:30 -0800 (PST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#127">[ date ]</a><a href="index.html#127">[ thread ]</a><a href="subject.html#127">[ subject ]</a><a href="author.html#127">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0128.html">Andre Couture: "Complete PC/Scanner???"</a>
<li> <b>Previous message:</b> <a href="0126.html">J. Rhett Aultman: "Re: Mustek III EP scanners"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi Folks.<br>
<p>
I am just finishing up my initial attempt at a backend for the Kodak<br>
DC210. It mostly works, but there are a couple of problems.<br>
<p>
I get a dialog saying that EOF was reached and that the scan fails. I<br>
am assuming that is becuase xscanimage is coming back to sane_read() for<br>
data when there is no more, and sane_read() returns EOF. Is a frontend<br>
suppose to know when it has received all of it's data and not ask for<br>
anymore when that happens, such that if it does get an EOF from<br>
sane_read() it's an error. Or does the frontend continue calling<br>
sane_read() until it does return an EOF/<br>
<p>
Second issue is that my "Preview" window is not set to the resolution of<br>
the image that will be coming from the camera. Any idea what I am<br>
missing here?<br>
<p>
Thirdly, would there be any problem if I re-wrote what I have in C++. <br>
Is it reasonable to add a requirement to the SANE package that if you<br>
want DC210 support you need a C++ compiler, and (perhaps) libstdc++?<br>
<p>
Thanks for your time,<br>
b.<br>
<p>
<p>
<p>
<pre>
--
Brian J. Murrell InterLinx Support Services, Inc.
North Vancouver, B.C. 604 983 UNIX
Platform and Brand Independent UNIX Support - R3.2 - R4 - BSD
<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="0128.html">Andre Couture: "Complete PC/Scanner???"</a>
<li> <b>Previous message:</b> <a href="0126.html">J. Rhett Aultman: "Re: Mustek III EP scanners"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>