| 1 |
.TH sane\-hp5400 5 "13 Jul 2008" "" "SANE Scanner Access Now Easy" |
| 2 |
.IX sane\-hp5400 |
| 3 |
.SH NAME |
| 4 |
sane\-hp5400 \- SANE backend for Hewlett-Packard 54XX scanners |
| 5 |
.SH DESCRIPTION |
| 6 |
The |
| 7 |
.B sane\-hp5400 |
| 8 |
library implements a SANE (Scanner Access Now Easy) backend that provides |
| 9 |
access to the following Hewlett-Packard USB flatbed scanners: |
| 10 |
.PP |
| 11 |
.RS |
| 12 |
ScanJet 5400C |
| 13 |
.br |
| 14 |
ScanJet 5470C |
| 15 |
.br |
| 16 |
ScanJet 5490C |
| 17 |
.RE |
| 18 |
.PP |
| 19 |
More details can be found on the hp5400 backend homepage |
| 20 |
.IR http://hp5400backend.sourceforge.net/ . |
| 21 |
.PP |
| 22 |
This is ALPHA software. Keep your hand at the scanner's plug and unplug it, if |
| 23 |
the head bumps at the end of the scan area. See also the BUGS section. |
| 24 |
.PP |
| 25 |
If you own a scanner other than the ones listed above that works with this |
| 26 |
backend, please let us know this by sending the scanner's exact model name and |
| 27 |
the USB vendor and device ids (e.g. from |
| 28 |
.IR /proc/bus/usb/devices , |
| 29 |
.BR sane\-find\-scanner (1) |
| 30 |
or syslog) to us. Even if the scanner's name is only slightly different from |
| 31 |
the models mentioned above, please let us know. |
| 32 |
.PP |
| 33 |
|
| 34 |
.SH CONFIGURATION |
| 35 |
The contents of the |
| 36 |
.I hp5400.conf |
| 37 |
file is a list of usb lines containing vendor and product ids that correspond |
| 38 |
to USB scanners. The file can also contain the names of device files that |
| 39 |
correspond to an HP 54XX scanner. Empty lines and lines starting with a hash |
| 40 |
mark (#) are ignored. The scanners are autodetected by |
| 41 |
.B usb vendor_id product_id |
| 42 |
statements which are already included into |
| 43 |
.IR hp5400.conf . |
| 44 |
"vendor_id" and "product_id" are hexadecimal numbers that identify the |
| 45 |
scanner. If autodetection does not work, add the device name of your scanner |
| 46 |
to the configuration file, e.g. |
| 47 |
.IR /dev/usb/scanner0 . |
| 48 |
.PP |
| 49 |
|
| 50 |
.SH FILES |
| 51 |
.TP |
| 52 |
.I /etc/sane.d/hp5400.conf |
| 53 |
The backend configuration file (see also description of |
| 54 |
.B SANE_CONFIG_DIR |
| 55 |
below). |
| 56 |
.TP |
| 57 |
.I /usr/lib/x86_64-linux-gnu/sane/libsane\-hp5400.a |
| 58 |
The static library implementing this backend. |
| 59 |
.TP |
| 60 |
.I /usr/lib/x86_64-linux-gnu/sane/libsane\-hp5400.so |
| 61 |
The shared library implementing this backend (present on systems that |
| 62 |
support dynamic loading). |
| 63 |
.SH ENVIRONMENT |
| 64 |
.TP |
| 65 |
.B SANE_CONFIG_DIR |
| 66 |
This environment variable specifies the list of directories that may |
| 67 |
contain the configuration file. On *NIX systems, the directories are |
| 68 |
separated by a colon (`:'), under OS/2, they are separated by a |
| 69 |
semi-colon (`;'). If this variable is not set, the configuration file |
| 70 |
is searched in two default directories: first, the current working |
| 71 |
directory |
| 72 |
.RI ( "." ) |
| 73 |
and then in |
| 74 |
.IR /etc/sane.d . |
| 75 |
If the value of the |
| 76 |
environment variable ends with the directory separator character, then |
| 77 |
the default directories are searched after the explicitly specified |
| 78 |
directories. For example, setting |
| 79 |
.B SANE_CONFIG_DIR |
| 80 |
to "/tmp/config:" would result in directories |
| 81 |
.IR "tmp/config" , |
| 82 |
.IR "." , |
| 83 |
and |
| 84 |
.I "/etc/sane.d" |
| 85 |
being searched (in this order). |
| 86 |
.TP |
| 87 |
.B SANE_DEBUG_HP5400 |
| 88 |
If the library was compiled with debug support enabled, this |
| 89 |
environment variable controls the debug level for this backend. Higher |
| 90 |
debug levels increase the verbosity of the output. |
| 91 |
|
| 92 |
Example: |
| 93 |
export SANE_DEBUG_HP5400=4 |
| 94 |
|
| 95 |
.SH "SEE ALSO" |
| 96 |
.BR sane (7), |
| 97 |
.BR sane\-usb (5), |
| 98 |
.BR sane\-find\-scanner (1), |
| 99 |
.br |
| 100 |
.I http://hp5400backend.sourceforge.net/ |
| 101 |
|
| 102 |
.SH AUTHOR |
| 103 |
Martijn van Oosterhout |
| 104 |
.RI < [email protected] >, |
| 105 |
Thomas Soumarmon |
| 106 |
.RI < [email protected] >. |
| 107 |
Manpage by Henning Meier-Geinitz |
| 108 |
.RI < henning@meier\-geinitz.de >. |
| 109 |
|
| 110 |
.SH BUGS |
| 111 |
Scanning is only tested with Linux/ix86/gcc. Be careful when testing on other |
| 112 |
operating systems and especially on big-endian platforms. The scanner may get |
| 113 |
wrong data. |