254 lines
6.2 KiB
HTML
254 lines
6.2 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of sane-rts8891</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>sane-rts8891</H1>
|
|
Section: SANE Scanner Access Now Easy (5)<BR>Updated: 8 Dec 2008<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
sane-rts8891 - SANE backend for rts8891 based scanners
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The
|
|
<B>sane-rts8891</B>
|
|
|
|
library implements a SANE (Scanner Access Now Easy) backend that
|
|
provides access to scanners based on the rts8891 ASIC.
|
|
<P>
|
|
|
|
The scanners that work with this backend are:
|
|
<P>
|
|
|
|
<DL COMPACT><DT id="1"><DD>
|
|
|
|
<PRE>
|
|
Vendor Model status
|
|
---------------------- -----------
|
|
Umax Astra 4400 untested
|
|
Umax Astra 4450 untested
|
|
HP scanjet 4000c good
|
|
HP scanjet 4470c good
|
|
</PRE>
|
|
|
|
|
|
</DL>
|
|
|
|
<P>
|
|
The options the backend supports can either be selected through
|
|
command line options to programs like scanimage or through GUI
|
|
elements in xscanimage or xsane.
|
|
<P>
|
|
<BR>
|
|
|
|
If you have any strange behavior, please report to the backend
|
|
maintainer or to the SANE mailing list.
|
|
<P>
|
|
Valid command line options and their syntax can be listed by using
|
|
<DL COMPACT><DT id="2"><DD>
|
|
scanimage --help -d rts8891
|
|
</DL>
|
|
|
|
<P>
|
|
<DL COMPACT>
|
|
<DT id="3"><B>Scan Mode Options</B>
|
|
|
|
<DD>
|
|
<P>
|
|
<DT id="4"><B>--mode</B>
|
|
|
|
<DD>
|
|
selects the basic mode of operation of the scanner valid choices are
|
|
<I>R Color ,</I>
|
|
|
|
<I>Gray</I>
|
|
|
|
and
|
|
<I>Lineart</I>
|
|
|
|
The default mode is Color. The Lineart mode is black and white only (1 bit).
|
|
Grayscale will produce 256 levels of gray (8 bits). Color mode allows for over
|
|
16 million different colors produced from 24 bits of color information.
|
|
<P>
|
|
<DT id="5"><B>--resolution</B>
|
|
|
|
<DD>
|
|
selects the resolution for a scan. The horizontal and vertical resolutions are set
|
|
by the value of this option. The scanner is capable of the following resolutions for the specified option value:
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT><DT id="6"><DD>
|
|
|
|
<PRE>
|
|
Value Hor. Resolution Vert. Resolution
|
|
----- --------------- -------------------
|
|
75 75dpi 75dpi
|
|
150 150dpi 150dpi
|
|
300 300dpi 300dpi
|
|
600 600dpi 600dpi
|
|
1200 1200dpi 1200dpi
|
|
</PRE>
|
|
|
|
|
|
</DL>
|
|
|
|
<P>
|
|
<DL COMPACT>
|
|
<DT id="7"><B>--preview</B>
|
|
|
|
<DD>
|
|
requests a preview scan. The resolution used for that scan is 75 dpi
|
|
and the scan area and the scan mode are as specified through their options,
|
|
or the default if not specified. The default value for preview mode is "no".
|
|
<P>
|
|
<DT id="8"><B>--threshold</B>
|
|
|
|
<DD>
|
|
selects the minimum-brightness to get a white point. The threshold is only used with Lineart mode scans.
|
|
It is specified as a percentage in the range 0..100% (in steps of 1).
|
|
The default value of the threshold option is 50.
|
|
<P>
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>CONFIGURATION FILE</H2>
|
|
|
|
The configuration file
|
|
<B>@CONFIGDIR@/rts8891.conf</B>
|
|
|
|
contains the usb device ids of supported scanners (eg usb 0x043d 0x007c) and scanner configuration options.
|
|
Empty lines and lines starting with a hash mark (#) are
|
|
ignored.
|
|
<P>
|
|
|
|
The options supported are
|
|
<B>allowsharing</B>
|
|
|
|
,
|
|
<B>modelnumber</B>
|
|
|
|
<P>
|
|
Option
|
|
<P>
|
|
|
|
<B>allowsharing</B>
|
|
|
|
enables or not the sharing of the scanner between multiple frontends at the same time.
|
|
<P>
|
|
|
|
<B>modelnumber</B>
|
|
|
|
is used to force the reported model by the backend and is only useful in the case of a scanner which NVRAM has been erased.
|
|
<DL COMPACT><DT id="9"><DD>
|
|
|
|
<PRE>
|
|
0 to report a HP4470c.
|
|
1 to report a HP4400c.
|
|
2 to report an Astra 4400.
|
|
</PRE>
|
|
|
|
|
|
</DL>
|
|
|
|
<P>
|
|
<P>
|
|
|
|
<A NAME="lbAE"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="10"><I>@LIBDIR@/libsane-rts8891.a</I>
|
|
|
|
<DD>
|
|
The static library implementing this backend.
|
|
<DT id="11"><I>@LIBDIR@/libsane-rts8891.so</I>
|
|
|
|
<DD>
|
|
The shared library implementing this backend (present on systems that
|
|
support dynamic loading).
|
|
<P>
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>ENVIRONMENT</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="12"><B>SANE_DEBUG_RTS8891 SANE_DEBUG_RTS8891_LOW SANE_DEBUG_RTS88XX_LIB</B>
|
|
|
|
<DD>
|
|
If the library was compiled with debug support enabled, these
|
|
environment variables controls the debug level for this backend. E.g.,
|
|
a value of 255 requests all debug output to be printed. Smaller levels
|
|
reduce verbosity.
|
|
<P>
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>LIMITATIONS</H2>
|
|
|
|
Scanners of the same model exist with different sensors, due to lack of data
|
|
(ie USB logs) some sensors are better supported than others. At least 75 dpi
|
|
mode is working for any model. Sharing the scanner between several frontends
|
|
at the same time (allowsharing option) may not work on some USB controllers.
|
|
<P>
|
|
|
|
XPA is no (yet) supported.
|
|
<A NAME="lbAH"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
<BR>
|
|
|
|
No bugs currently known.
|
|
<P>
|
|
<P>
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?5+sane-scsi">sane-scsi</A>(5), <A HREF="/cgi-bin/man/man2html?1+scanimage">scanimage</A>(1), <A HREF="/cgi-bin/man/man2html?1+xscanimage">xscanimage</A>(1), <A HREF="/cgi-bin/man/man2html?1+xsane">xsane</A>(1), <A HREF="/cgi-bin/man/man2html?7+sane">sane</A>(7)
|
|
<P>
|
|
<P>
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="13">This backend has been developed by Stéphane Voltz.<DD>
|
|
<I><A HREF="http://stef.dev.free.fr/sane/rts8891">http://stef.dev.free.fr/sane/rts8891</A></I>
|
|
|
|
</DL>
|
|
<A NAME="lbAK"> </A>
|
|
<H2>CREDITS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="14">Many thanks go to:<DD>
|
|
Laurent Fournier who donated me a HP4470c.
|
|
Vladimir Sysoev and "TheUnruly Squash" for the time they spent recording
|
|
USB activity and testing the experimental version on HP4400 models.
|
|
<P>
|
|
</DL>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="15"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="16"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="17"><A HREF="#lbAD">CONFIGURATION FILE</A><DD>
|
|
<DT id="18"><A HREF="#lbAE">FILES</A><DD>
|
|
<DT id="19"><A HREF="#lbAF">ENVIRONMENT</A><DD>
|
|
<DT id="20"><A HREF="#lbAG">LIMITATIONS</A><DD>
|
|
<DT id="21"><A HREF="#lbAH">BUGS</A><DD>
|
|
<DT id="22"><A HREF="#lbAI">SEE ALSO</A><DD>
|
|
<DT id="23"><A HREF="#lbAJ">AUTHOR</A><DD>
|
|
<DT id="24"><A HREF="#lbAK">CREDITS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:05 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|