kopia lustrzana https://gitlab.com/sane-project/website
135 wiersze
6.0 KiB
HTML
135 wiersze
6.0 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: Problems with Prisa 620S [snapscan] + BUG in xs</TITLE>
|
|
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@rauch-domain.de)">
|
|
<META NAME="Subject" CONTENT="Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76</H1>
|
|
<!-- received="Wed May 23 09:06:59 2001" -->
|
|
<!-- isoreceived="20010523160659" -->
|
|
<!-- sent="Wed, 23 May 2001 18:11:04 +0200" -->
|
|
<!-- isosent="20010523161104" -->
|
|
<!-- name="Oliver Rauch" -->
|
|
<!-- email="oliver.rauch@rauch-domain.de" -->
|
|
<!-- subject="Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76" -->
|
|
<!-- id="3B0BE118.C062F4A4@rauch-domain.de" -->
|
|
<!-- inreplyto="3B0AEEB4.2030603@uow.edu.au" -->
|
|
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@rauch-domain.de?Subject=Re:%20Problems%20with%20Prisa%20620S%20[snapscan]%20%2B%20BUG%20in%20xsane%200.76&In-Reply-To=<3B0BE118.C062F4A4@rauch-domain.de>"><EM>oliver.rauch@rauch-domain.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Wed May 23 2001 - 09:11:04 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0308.html">Oliver Rauch: "Re: [BUG] Epson 1640SU, xsane preview problem"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0306.html">Sebastien Sable: "Re: Maxi-scan A4 scanner (AGAIN!!!) under Mandrake 8.0 (2.4.3)"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0295.html">Ben Stanley: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0341.html">Ben Stanley: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0288.html">Oliver Rauch: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0341.html">Ben Stanley: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#307">[ date ]</A>
|
|
<A HREF="index.html#307">[ thread ]</A>
|
|
<A HREF="subject.html#307">[ subject ]</A>
|
|
<A HREF="author.html#307">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Ben Stanley wrote:
|
|
<BR>
|
|
<P><EM>> Looks like your theory is confirmed. Not sure I know what to do about it
|
|
</EM><BR>
|
|
<EM>> yet... I mean, I know the backend has to be fixed, but I'm not in a
|
|
</EM><BR>
|
|
<EM>> position to be able to do it yet :-).
|
|
</EM><BR>
|
|
<P>Hi Ben,
|
|
<BR>
|
|
<P>a close look shows this:
|
|
<BR>
|
|
<P>lines is defined by remaining,
|
|
<BR>
|
|
remaining is set to pss->lines*pss->bytes_per_line
|
|
<BR>
|
|
<P>pss->lines is defined in function inquriy()
|
|
<BR>
|
|
<P>th function inquiry is called in sane_start, after this
|
|
<BR>
|
|
pss->lines should be correct.
|
|
<BR>
|
|
<P>I would test the following:
|
|
<BR>
|
|
edit snapscan.c, line 2018 (in cvs) (here lines 2013-2019:
|
|
<BR>
|
|
if (pss->psrc != NULL)
|
|
<BR>
|
|
{
|
|
<BR>
|
|
/* use what the source chain says */
|
|
<BR>
|
|
p->pixels_per_line = pss->psrc->pixelsPerLine(pss->psrc);
|
|
<BR>
|
|
p->bytes_per_line = pss->psrc->bytesPerLine(pss->psrc);
|
|
<BR>
|
|
p->lines = pss->psrc->remaining(pss->psrc)/p->bytes_per_line;
|
|
<BR>
|
|
}
|
|
<BR>
|
|
<P>change
|
|
<BR>
|
|
p->lines = pss->psrc->remaining(pss->psrc)/p->bytes_per_line;
|
|
<BR>
|
|
to
|
|
<BR>
|
|
p->lines = pss->lines;
|
|
<BR>
|
|
<P><P>May be this already solves the problem.
|
|
<BR>
|
|
<P>Bye
|
|
<BR>
|
|
Oliver
|
|
<BR>
|
|
<P><PRE>
|
|
--
|
|
Homepage: <A HREF="http://www.rauch-domain.de">http://www.rauch-domain.de</A>
|
|
sane-umax: <A HREF="http://www.rauch-domain.de/sane-umax">http://www.rauch-domain.de/sane-umax</A>
|
|
xsane: <A HREF="http://www.xsane.org">http://www.xsane.org</A>
|
|
E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@rauch-domain.de?Subject=Re:%20Problems%20with%20Prisa%20620S%20[snapscan]%20%2B%20BUG%20in%20xsane%200.76&In-Reply-To=<3B0BE118.C062F4A4@rauch-domain.de>">Oliver.Rauch@rauch-domain.de</A>
|
|
<P>--
|
|
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:%20Problems%20with%20Prisa%20620S%20[snapscan]%20%2B%20BUG%20in%20xsane%200.76&In-Reply-To=<3B0BE118.C062F4A4@rauch-domain.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0308.html">Oliver Rauch: "Re: [BUG] Epson 1640SU, xsane preview problem"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0306.html">Sebastien Sable: "Re: Maxi-scan A4 scanner (AGAIN!!!) under Mandrake 8.0 (2.4.3)"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0295.html">Ben Stanley: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0341.html">Ben Stanley: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0288.html">Oliver Rauch: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0341.html">Ben Stanley: "Re: Problems with Prisa 620S [snapscan] + BUG in xsane 0.76"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#307">[ date ]</A>
|
|
<A HREF="index.html#307">[ thread ]</A>
|
|
<A HREF="subject.html#307">[ subject ]</A>
|
|
<A HREF="author.html#307">[ 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>Wed May 23 2001 - 09:07:11 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|