sane-project-website/old-archive/2001-02/0245.html

154 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: Writing Fujitsu M3091 backend</TITLE>
<META NAME="Author" CONTENT="Mick Barry (mick@objects.com.au)">
<META NAME="Subject" CONTENT="Re: Writing Fujitsu M3091 backend">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Writing Fujitsu M3091 backend</H1>
<!-- received="Tue Feb 27 14:26:08 2001" -->
<!-- isoreceived="20010227222608" -->
<!-- sent="Wed, 28 Feb 2001 09:40:13 +1100" -->
<!-- isosent="20010227224013" -->
<!-- name="Mick Barry" -->
<!-- email="mick@objects.com.au" -->
<!-- subject="Re: Writing Fujitsu M3091 backend" -->
<!-- id="3A9C2CCD.F18D3AAF@objects.com.au" -->
<!-- inreplyto="20010227134217.A9112@aruba.remote.org" -->
<STRONG>From:</STRONG> Mick Barry (<A HREF="mailto:mick@objects.com.au?Subject=Re:%20Writing%20Fujitsu%20M3091%20backend&In-Reply-To=&lt;3A9C2CCD.F18D3AAF@objects.com.au&gt;"><EM>mick@objects.com.au</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Feb 27 2001 - 14:40:13 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0246.html">Frederik Ramm: "M3091 color scheme success"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0244.html">Mick Barry: "Re: Fujitsu fi-4750C Backend Project"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0232.html">Frederik Ramm: "Writing Fujitsu M3091 backend"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0247.html">Tom Martone: "Re: Writing Fujitsu M3091 backend"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#245">[ date ]</A>
<A HREF="index.html#245">[ thread ]</A>
<A HREF="subject.html#245">[ subject ]</A>
<A HREF="author.html#245">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Not sure if it helps you or not but the hp driver has a 'Front button
<BR>
wait' option which if set, causes the scanner to wait until the button
<BR>
is pressed before starting the scan.
<BR>
<P>Frederik Ramm wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Question 3 - How to support the &quot;hot button(s)&quot;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; This is probably beyond the scope of SANE but maybe somebody knows
</EM><BR>
<EM>&gt; something. The scanner has the following controls: a &quot;scan&quot; button, a
</EM><BR>
<EM>&gt; &quot;duplex&quot; button, a &quot;send to&quot; button, and a number dial that can select
</EM><BR>
<EM>&gt; numbers 0-9. The scanner does nothing with these buttons; the obvious
</EM><BR>
<EM>&gt; purpose (as supported by some Windows software that comes with it) is
</EM><BR>
<EM>&gt; that you can insert a document and then, by pressing one of them, have
</EM><BR>
<EM>&gt; your computer launch a program that does something. (My idea of use
</EM><BR>
<EM>&gt; would be assigning categories to the numbers, i.e. 1=bills, 2=bank
</EM><BR>
<EM>&gt; letters, 3=personal letters, etc., and then use the number dial and
</EM><BR>
<EM>&gt; &quot;send&quot; button on the scanner to store documents away in the proper
</EM><BR>
<EM>&gt; folders on my Linux box.)
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; The SCSI docs tell me that there are some extended fields in the
</EM><BR>
<EM>&gt; scanner's response to the INQUIRY command that tell you if one of
</EM><BR>
<EM>&gt; these buttons has been pressed. The respective fields are &quot;true&quot; for
</EM><BR>
<EM>&gt; three seconds after button press. So I imagine I'd need some sort of
</EM><BR>
<EM>&gt; &quot;inquiry daemon&quot; that sends the command to the scanner every 2 seconds
</EM><BR>
<EM>&gt; or so and then launches whatever program has been defined when certain
</EM><BR>
<EM>&gt; fields in the response data have certain values.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Does such a program already exist? If not, can somebody point me to a
</EM><BR>
<EM>&gt; very very simple program that (outside of the SANE context) sends a
</EM><BR>
<EM>&gt; simple SCSI command to a device and evaluates the response, so that I
</EM><BR>
<EM>&gt; could work from there?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Bye
</EM><BR>
<EM>&gt; Frederik
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Frederik Ramm ## eMail <A HREF="mailto:frederik@remote.org?Subject=Re:%20Writing%20Fujitsu%20M3091%20backend&In-Reply-To=&lt;3A9C2CCD.F18D3AAF@objects.com.au&gt;">frederik@remote.org</A> ## N57<35>48.10' W005<30>40.32'
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Writing%20Fujitsu%20M3091%20backend&In-Reply-To=&lt;3A9C2CCD.F18D3AAF@objects.com.au&gt;">majordomo@mostang.com</A>
</EM><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?Subject=Re:%20Writing%20Fujitsu%20M3091%20backend&In-Reply-To=&lt;3A9C2CCD.F18D3AAF@objects.com.au&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0246.html">Frederik Ramm: "M3091 color scheme success"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0244.html">Mick Barry: "Re: Fujitsu fi-4750C Backend Project"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0232.html">Frederik Ramm: "Writing Fujitsu M3091 backend"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0247.html">Tom Martone: "Re: Writing Fujitsu M3091 backend"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#245">[ date ]</A>
<A HREF="index.html#245">[ thread ]</A>
<A HREF="subject.html#245">[ subject ]</A>
<A HREF="author.html#245">[ 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>Tue Feb 27 2001 - 14:27:38 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>