sane-project-website/old-archive/2000-02/0219.html

163 wiersze
6.5 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: Xsane-0.55: scan resolution selection (Epson 12</TITLE>
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@Wolfsburg.DE)">
<META NAME="Subject" CONTENT="Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)</H1>
<!-- received="Sat Feb 19 04:23:45 2000" -->
<!-- isoreceived="20000219122345" -->
<!-- sent="Sat, 19 Feb 2000 13:23:49 +0100" -->
<!-- isosent="20000219122349" -->
<!-- name="Oliver Rauch" -->
<!-- email="oliver.rauch@Wolfsburg.DE" -->
<!-- subject="Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)" -->
<!-- id="38AE8B54.2DD432B5@wolfsburg.de" -->
<!-- inreplyto="38AE7BDC.AAEB582D@dial.pipex.com" -->
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@Wolfsburg.DE?Subject=Re:%20Xsane-0.55:%20scan%20resolution%20selection%20(Epson%201200S,%20CVS%20Sane)&In-Reply-To=&lt;38AE8B54.2DD432B5@wolfsburg.de&gt;"><EM>oliver.rauch@Wolfsburg.DE</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Feb 19 2000 - 04:23:49 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0220.html">Harry E. Clarke: "Re: New CVS snapshot 20000213"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0218.html">Jonathan Buzzard: "USB scanners under Sane/Linux"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0215.html">John Vickers: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0222.html">Karl Heinz Kremer: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0222.html">Karl Heinz Kremer: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#219">[ date ]</A>
<A HREF="index.html#219">[ thread ]</A>
<A HREF="subject.html#219">[ subject ]</A>
<A HREF="author.html#219">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
John Vickers wrote:
<BR>
<P><EM>&gt; Hi.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I had a bit more of a poke around, and I think the problem is in xsane.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; (After making sure I really was linking with the sane I thought
</EM><BR>
<EM>&gt; I was linking with...)
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; xsane uses quite different code for the preview resolution slider
</EM><BR>
<EM>&gt; and for the main resolution slider.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; For the preview slider, the xsane resets the slider value to the
</EM><BR>
<EM>&gt; resolution value returned by the backend, so that a subsequent
</EM><BR>
<EM>&gt; change to the slider value, via cursor keys or mouse clicks
</EM><BR>
<EM>&gt; is relative to the valuye returned by the backend.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; For the main resolution slider, the slider value is never reset.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; HTH. I'll do some more digging. But this GUI stuff is a bit high level
</EM><BR>
<EM>&gt; for me. Can't you write it in VHDL ? ;-)
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; John.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Karl Heinz Kremer wrote:
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Hmmm... The Epson backend uses a range for both the scan and
</EM><BR>
<EM>&gt; &gt; preview resolution. What is the &quot;recommended&quot; way of handling
</EM><BR>
<EM>&gt; &gt; the resolution list? I've checked all the backends in the CVS
</EM><BR>
<EM>&gt; &gt; and I see word lists, string lists, and ranges. I have the
</EM><BR>
<EM>&gt; &gt; feeling that I should change this... Oliver, do you have
</EM><BR>
<EM>&gt; &gt; any advise on which of the lists is more useable from a
</EM><BR>
<EM>&gt; &gt; frontend perspective?
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<P>Hello Karl Heinz,
<BR>
<P>the sane standard defines only one &quot;resolution&quot; as well known option.
<BR>
It does not make sense to have a &quot;preview resolution&quot; option because
<BR>
the frontend has to set the correct resolution in each case and like defined
<BR>
in the standard xscanimage and xsane do set the option &quot;resolution&quot;.
<BR>
<P>If the preview resolution option is removed from the epson backend
<BR>
everything will work fine.
<BR>
<P>Bye
<BR>
Oliver
<BR>
<P><PRE>
--
Homepage: <A HREF="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</A>
sane-umax: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-umax.html">http://www.wolfsburg.de/~rauch/sane/sane-umax.html</A>
xsane: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-xsane.html">http://www.wolfsburg.de/~rauch/sane/sane-xsane.html</A>
E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@Wolfsburg.DE?Subject=Re:%20Xsane-0.55:%20scan%20resolution%20selection%20(Epson%201200S,%20CVS%20Sane)&In-Reply-To=&lt;38AE8B54.2DD432B5@wolfsburg.de&gt;">Oliver.Rauch@Wolfsburg.DE</A>
<P><P><P><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:%20Xsane-0.55:%20scan%20resolution%20selection%20(Epson%201200S,%20CVS%20Sane)&In-Reply-To=&lt;38AE8B54.2DD432B5@wolfsburg.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0220.html">Harry E. Clarke: "Re: New CVS snapshot 20000213"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0218.html">Jonathan Buzzard: "USB scanners under Sane/Linux"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0215.html">John Vickers: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0222.html">Karl Heinz Kremer: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0222.html">Karl Heinz Kremer: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#219">[ date ]</A>
<A HREF="index.html#219">[ thread ]</A>
<A HREF="subject.html#219">[ subject ]</A>
<A HREF="author.html#219">[ 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>Sat Feb 19 2000 - 04:25:36 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>