255 lines
6.3 KiB
HTML
255 lines
6.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of sane-p5</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>sane-p5</H1>
|
|
Section: SANE Scanner Access Now Easy (5)<BR>Updated: 15 Feb 2010<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-p5 - SANE backend for the Primax PagePartner
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The
|
|
<B>sane-p5</B>
|
|
|
|
library implements a SANE (Scanner Access Now Easy) backend that
|
|
provides access to the Primax PagePartner parallel port sheet fed scanner.
|
|
<P>
|
|
|
|
This backend handles 100, 150, 200, 300 and 600 dpi scan resolutions,
|
|
in color and gray modes. The 600 dpi is actually 300x600 with lines
|
|
enlarged to match the vertical resolution.
|
|
<P>
|
|
|
|
<B>EPP/ECP MODES ONLY</B>
|
|
|
|
The current version of the backend uses only EPP or ECP mode to communicate
|
|
with the scanner. It is
|
|
recommended that you set your parallel port to EPP in BIOS with the current
|
|
version of this backend. ECPEPP will only
|
|
work if you use a 2.4 or 2.6 kernel with ppdev character device support.
|
|
<P>
|
|
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DEVICE NAMES</H2>
|
|
|
|
This backend expects device names of the form:
|
|
<P>
|
|
|
|
<DL COMPACT><DT id="1"><DD>
|
|
<I>port value</I>
|
|
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
Where
|
|
<B>value</B> is :
|
|
<P>
|
|
<DL COMPACT><DT id="2"><DD>
|
|
<DL COMPACT>
|
|
<DT id="3">auto<DD>
|
|
autodetect all parallel ports and probe
|
|
them for scanner
|
|
<DT id="4">/dev/parport0<DD>
|
|
uses linux ppdev device, depending on the
|
|
number of available parallel port, you
|
|
have to use /dev/parport1, /dev/parport2, ...
|
|
</DL>
|
|
<P>
|
|
|
|
</DL>
|
|
|
|
You can rename any device using the
|
|
<P>
|
|
|
|
<DL COMPACT><DT id="5"><DD>
|
|
<BR>
|
|
|
|
<I>option name my_name</I>
|
|
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
option. This option apply to the last port option.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>CONFIGURATION</H2>
|
|
|
|
Please make sure to edit dll.conf
|
|
<B>before</B>
|
|
|
|
you use the backend, since this backend isn't enabled by default.
|
|
<P>
|
|
|
|
<P>
|
|
<P>
|
|
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="6"><I>@CONFIGDIR@/p5.conf</I>
|
|
|
|
<DD>
|
|
The backend configuration file (see also description of
|
|
<B>SANE_CONFIG_DIR</B>
|
|
|
|
below).
|
|
<DT id="7"><I>@LIBDIR@/libsane-p5.a</I>
|
|
|
|
<DD>
|
|
The static library implementing this backend.
|
|
<DT id="8"><I>@LIBDIR@/libsane-p5.so</I>
|
|
|
|
<DD>
|
|
The shared library implementing this backend (present on systems that
|
|
support dynamic loading).
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>ENVIRONMENT</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="9"><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="10"><B>SANE_DEBUG_P5</B>
|
|
|
|
<DD>
|
|
If the library was compiled with debug support enabled, this
|
|
environment variable 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>
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT><DT id="11"><DD>
|
|
|
|
<PRE>
|
|
level debug output
|
|
------- ------------------------------
|
|
0 critical errors
|
|
1 errors
|
|
2 warnings & minor errors
|
|
4 information messages
|
|
8 start/stop of functions
|
|
16 tracing messages
|
|
32 I/O functions
|
|
64 I/O functions with traces
|
|
128 scanned/calibration data
|
|
</PRE>
|
|
|
|
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="12"><DD>
|
|
</DL>
|
|
<P>
|
|
|
|
<DL COMPACT><DT id="13"><DD>
|
|
|
|
<PRE>
|
|
|
|
|
|
|
|
</DL>
|
|
</PRE><A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?7+sane">sane</A>(7), <A HREF="/cgi-bin/man/man2html?5+sane-net">sane-net</A>(5), <A HREF="/cgi-bin/man/man2html?8+saned">saned</A>(8)
|
|
<P>
|
|
<A NAME="lbAI"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Stéphane Voltz <<A HREF="mailto:stef.dev@free.fr">stef.dev@free.fr</A>>
|
|
<P>
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>CREDITS</H2>
|
|
|
|
Support for the Prima PagePartner has been made possible thank to an hardware donation
|
|
by Sébastien Lange.
|
|
<P>
|
|
<A NAME="lbAK"> </A>
|
|
<H2>BUG REPORTS</H2>
|
|
|
|
If something doesn't work mail <A HREF="mailto:sane-devel@alioth-lists.debian.net">sane-devel@alioth-lists.debian.net</A> or submit an
|
|
issue via <A HREF="https://gitlab.com/sane-project/backends/issues/new">https://gitlab.com/sane-project/backends/issues/new</A> with a label of
|
|
backend/p5.
|
|
Please give as much information as you can.
|
|
<P>
|
|
<DL COMPACT>
|
|
<DT id="14"><I>SANE version</I>
|
|
|
|
<DD>
|
|
run "scanimage -V" to determine this
|
|
<DT id="15"><I>the backend version and your scanner hardware</I>
|
|
|
|
<DD>
|
|
run "SANE_DEBUG_P5=255 scanimage -L 2>log" as root. If you don't get any output
|
|
from the p5 backend, make sure a line "p5" is included into
|
|
your @CONFIGDIR@/dll.conf.
|
|
If your scanner isn't detected, make sure you've defined the right port address, or the
|
|
correct device
|
|
in your p5.conf.
|
|
<DT id="16"><I>the name of your scanner/vendor</I>
|
|
|
|
<DD>
|
|
also a worthy information. Please also include the optical resolution and lamp type of your scanner, both can be found in the manual of your scanner.
|
|
<DT id="17"><I>any further comments</I>
|
|
|
|
<DD>
|
|
if you have comments about the documentation (what could be done better), or you
|
|
think I should know something, please include it.
|
|
<P>
|
|
</DL>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="18"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="19"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="20"><A HREF="#lbAD">DEVICE NAMES</A><DD>
|
|
<DT id="21"><A HREF="#lbAE">CONFIGURATION</A><DD>
|
|
<DT id="22"><A HREF="#lbAF">FILES</A><DD>
|
|
<DT id="23"><A HREF="#lbAG">ENVIRONMENT</A><DD>
|
|
<DT id="24"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
<DT id="25"><A HREF="#lbAI">AUTHOR</A><DD>
|
|
<DT id="26"><A HREF="#lbAJ">CREDITS</A><DD>
|
|
<DT id="27"><A HREF="#lbAK">BUG REPORTS</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>
|