178 lines
5.0 KiB
HTML
178 lines
5.0 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of sane-hp5400</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>sane-hp5400</H1>
|
|
Section: SANE Scanner Access Now Easy (5)<BR>Updated: 13 Jul 2008<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="ixAAB"></A>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
sane-hp5400 - SANE backend for Hewlett-Packard 54XX scanners
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The
|
|
<B>sane-hp5400</B>
|
|
|
|
library implements a SANE (Scanner Access Now Easy) backend that provides
|
|
access to the following Hewlett-Packard USB flatbed scanners:
|
|
<P>
|
|
|
|
<DL COMPACT><DT id="1"><DD>
|
|
ScanJet 5400C
|
|
<BR>
|
|
|
|
ScanJet 5470C
|
|
<BR>
|
|
|
|
ScanJet 5490C
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
More details can be found on the hp5400 backend homepage
|
|
<I><A HREF="http://hp5400backend.sourceforge.net/">http://hp5400backend.sourceforge.net/</A></I>.
|
|
|
|
<P>
|
|
|
|
This is ALPHA software. Keep your hand at the scanner's plug and unplug it, if
|
|
the head bumps at the end of the scan area. See also the BUGS section.
|
|
<P>
|
|
|
|
If you own a scanner other than the ones listed above that works with this
|
|
backend, please let us know this by sending the scanner's exact model name and
|
|
the USB vendor and device ids (e.g. from
|
|
<I>/proc/bus/usb/devices</I>,
|
|
|
|
<I>sane-find-scanner</I>
|
|
|
|
or syslog) to us. Even if the scanner's name is only slightly different from
|
|
the models mentioned above, please let us know.
|
|
<P>
|
|
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>CONFIGURATION</H2>
|
|
|
|
The contents of the
|
|
<I>hp5400.conf</I>
|
|
|
|
file is a list of usb lines containing vendor and product ids that correspond
|
|
to USB scanners. The file can also contain the names of device files that
|
|
correspond to an HP 54XX scanner. Empty lines and lines starting with a hash
|
|
mark (#) are ignored. The scanners are autodetected by
|
|
<B>usb vendor_id product_id</B>
|
|
|
|
statements which are already included into
|
|
<I>hp5400.conf</I>.
|
|
|
|
"vendor_id" and "product_id" are hexadecimal numbers that identify the
|
|
scanner. If autodetection does not work, add the device name of your scanner
|
|
to the configuration file, e.g.
|
|
<I>/dev/usb/scanner0</I>.
|
|
|
|
<P>
|
|
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="2"><I>@CONFIGDIR@/hp5400.conf</I>
|
|
|
|
<DD>
|
|
The backend configuration file (see also description of
|
|
<B>SANE_CONFIG_DIR</B>
|
|
|
|
below).
|
|
<DT id="3"><I>@LIBDIR@/libsane-hp5400.a</I>
|
|
|
|
<DD>
|
|
The static library implementing this backend.
|
|
<DT id="4"><I>@LIBDIR@/libsane-hp5400.so</I>
|
|
|
|
<DD>
|
|
The shared library implementing this backend (present on systems that
|
|
support dynamic loading).
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>ENVIRONMENT</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="5"><B>SANE_CONFIG_DIR</B>
|
|
|
|
<DD>
|
|
This environment variable specifies the list of directories that may
|
|
contain the configuration file. Under UNIX, the directories are
|
|
separated by a colon (`:'), under OS/2, they are separated by a
|
|
semi-colon (`;'). If this variable is not set, the configuration file
|
|
is searched in two default directories: first, the current working
|
|
directory (".") and then in @CONFIGDIR@. If the value of the
|
|
environment variable ends with the directory separator character, then
|
|
the default directories are searched after the explicitly specified
|
|
directories. For example, setting
|
|
<B>SANE_CONFIG_DIR</B>
|
|
|
|
to "/tmp/config:" would result in directories "tmp/config", ".", and
|
|
"@CONFIGDIR@" being searched (in this order).
|
|
<DT id="6"><B>SANE_DEBUG_HP5400</B>
|
|
|
|
<DD>
|
|
If the library was compiled with debug support enabled, this
|
|
environment variable controls the debug level for this backend. Higher
|
|
debug levels increase the verbosity of the output.
|
|
<P>
|
|
Example:
|
|
export SANE_DEBUG_HP5400=4
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?7+sane">sane</A></B>(7),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+sane-usb">sane-usb</A></B>(5),
|
|
|
|
<BR>
|
|
|
|
<I><A HREF="http://hp5400backend.sourceforge.net/">http://hp5400backend.sourceforge.net/</A></I>
|
|
|
|
<P>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Martijn van Oosterhout <<A HREF="mailto:kleptog@svana.org">kleptog@svana.org</A>>, Thomas Soumarmon
|
|
<<A HREF="mailto:soumarmt@nerim.net">soumarmt@nerim.net</A>>. Manpage by Henning Meier-Geinitz
|
|
<<A HREF="mailto:henning@meier-geinitz.de">henning@meier-geinitz.de</A>>.
|
|
<P>
|
|
<A NAME="lbAI"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
Scanning is only tested with Linux/ix86/gcc. Be careful when testing on other
|
|
operating systems and especially on big-endian platforms. The scanner may get
|
|
wrong data.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="7"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="8"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="9"><A HREF="#lbAD">CONFIGURATION</A><DD>
|
|
<DT id="10"><A HREF="#lbAE">FILES</A><DD>
|
|
<DT id="11"><A HREF="#lbAF">ENVIRONMENT</A><DD>
|
|
<DT id="12"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
<DT id="13"><A HREF="#lbAH">AUTHOR</A><DD>
|
|
<DT id="14"><A HREF="#lbAI">BUGS</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>
|