Thanks for the reply, on the Desktop PC I just have one scanner, but on the laptop when I make a &quot;scanimage -L&quot; it detects first the webcam, so I must add the &quot;-d&quot; argument.<br><br>Regards.<br><br><div class="gmail_quote">
2010/1/16 m. allan noah <span dir="ltr">&lt;<a href="mailto:kitno455@gmail.com">kitno455@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
if you only have one scanner, you dont need to use the -d argument.<br>
<br>
allan<br>
<div><div></div><div class="h5"><br>
On Sat, Jan 16, 2010 at 6:27 AM, Josu Lazkano &lt;<a href="mailto:josu.lazkano@gmail.com">josu.lazkano@gmail.com</a>&gt; wrote:<br>
&gt; Hello everybody! I have a HP ScanJet 2400 scanner. I can scan normally with<br>
&gt; this command:<br>
&gt;<br>
&gt; scanimage -d hp2400:libusb:001:006 --format=tiff &gt; Desktop/image.tiff<br>
&gt;<br>
&gt; But if I change the scanner USB port, the device address change:<br>
&gt;<br>
&gt; $ scanimage -L<br>
&gt; device `hp2400:libusb:001:004&#39; is a Hewlett-Packard hp2400 flatbed scanner<br>
&gt;<br>
&gt; $ scanimage -L<br>
&gt; device `hp2400:libusb:001:005&#39; is a Hewlett-Packard hp2400 flatbed scanner<br>
&gt;<br>
&gt; $ scanimage -L<br>
&gt; device `hp2400:libusb:001:006&#39; is a Hewlett-Packard hp2400 flatbed scanner<br>
&gt;<br>
&gt; I use the &quot;scanimage&quot; command on a script, so if I change the USB port I<br>
&gt; must edit script.<br>
&gt;<br>
&gt; Is possible to assign always the same port?<br>
&gt;<br>
&gt; Thanks for all!!!<br>
&gt;<br>
&gt; --<br>
&gt; Josu Lazkano<br>
&gt;<br>
</div></div>&gt; --<br>
&gt; sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
&gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
&gt; Unsubscribe: Send mail with subject &quot;unsubscribe your_password&quot;<br>
&gt;             to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
&quot;The truth is an offense, but not a sin&quot;<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Josu Lazkano<br>