sane-project-website/old-archive/2001-01/0223.html

108 wiersze
3.6 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: setting default scanner</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (hmg-ml@gmx.de)">
<META NAME="Subject" CONTENT="Re: setting default scanner">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: setting default scanner</H1>
<!-- received="Sun Jan 21 07:10:59 2001" -->
<!-- isoreceived="20010121151059" -->
<!-- sent="Sun, 21 Jan 2001 14:57:15 +0100" -->
<!-- isosent="20010121135715" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="hmg-ml@gmx.de" -->
<!-- subject="Re: setting default scanner" -->
<!-- id="20010121145715.A10770@vortex.swb.de" -->
<!-- inreplyto="01012113073301.02821@remco.lia.rules" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:hmg-ml@gmx.de?Subject=Re:%20setting%20default%20scanner&In-Reply-To=&lt;20010121145715.A10770@vortex.swb.de&gt;"><EM>hmg-ml@gmx.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Jan 21 2001 - 05:57:15 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0224.html">SCC: "scanning to cd-rom"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0222.html">Hugo.van.der.Kooij@caiw.nl: "Re: Acer ScanPrisa 640U"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0220.html">Remco Meeder: "setting default scanner"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#223">[ date ]</A>
<A HREF="index.html#223">[ thread ]</A>
<A HREF="subject.html#223">[ subject ]</A>
<A HREF="author.html#223">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>On Sun, Jan 21, 2001 at 01:07:33PM +0100, Remco Meeder wrote:
<BR>
<EM>&gt; how do I set a default device? the environment setting doesn't work for
</EM><BR>
<EM>&gt; scanimage or xscanimage.
</EM><BR>
<P>For scanimage it works for me:
<BR>
<P>export SANE_DEFAULT_DEVICE=&quot;mustek:/dev/sg0&quot;
<BR>
scanimage -T (scanner starts to scan)
<BR>
export SANE_DEFAULT_DEVICE=&quot;pnm:0&quot;
<BR>
scanimage -T
<BR>
scanimage: sane_start: Invalid argument
<BR>
(--filename is missing, so it uses the pnm backend)
<BR>
<P><EM>&gt; I don't like having to type --device-name=microtek2:/dev/sgc the whole
</EM><BR>
<EM>&gt; time.....
</EM><BR>
<P>Another way would be to write a short shell script. For xscanimage amd
<BR>
pnm:0 e.g.:
<BR>
<P>#!/bin/sh
<BR>
xscanimage pnm:0
<BR>
<P>Bye,
<BR>
&nbsp;&nbsp;Henning
<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:%20setting%20default%20scanner&In-Reply-To=&lt;20010121145715.A10770@vortex.swb.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0224.html">SCC: "scanning to cd-rom"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0222.html">Hugo.van.der.Kooij@caiw.nl: "Re: Acer ScanPrisa 640U"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0220.html">Remco Meeder: "setting default scanner"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#223">[ date ]</A>
<A HREF="index.html#223">[ thread ]</A>
<A HREF="subject.html#223">[ subject ]</A>
<A HREF="author.html#223">[ 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>Sun Jan 21 2001 - 07:13:28 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>