| 1 |
.TH "sane\-rts8891" "5" "8 Dec 2008" "" "SANE Scanner Access Now Easy" |
| 2 |
.SH "NAME" |
| 3 |
sane\-rts8891 \- SANE backend for rts8891 based scanners |
| 4 |
.SH "DESCRIPTION" |
| 5 |
The |
| 6 |
.B sane\-rts8891 |
| 7 |
library implements a SANE (Scanner Access Now Easy) backend that |
| 8 |
provides access to scanners based on the rts8891 ASIC. |
| 9 |
.PP |
| 10 |
The scanners that work with this backend are: |
| 11 |
.PP |
| 12 |
.RS |
| 13 |
.ft CR |
| 14 |
.nf |
| 15 |
Vendor Model status |
| 16 |
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\-\- |
| 17 |
Umax Astra 4400 untested |
| 18 |
Umax Astra 4450 untested |
| 19 |
HP scanjet 4000c good |
| 20 |
HP scanjet 4470c good |
| 21 |
.fi |
| 22 |
.ft R |
| 23 |
.RE |
| 24 |
|
| 25 |
The options the backend supports can either be selected through |
| 26 |
command line options to programs like |
| 27 |
.BR scanimage (1) |
| 28 |
or through GUI elements in |
| 29 |
.BR xscanimage (1) |
| 30 |
or |
| 31 |
.BR xsane (1). |
| 32 |
|
| 33 |
.br |
| 34 |
If you notice any strange behavior, please report to the backend |
| 35 |
maintainer or to the SANE mailing list. |
| 36 |
|
| 37 |
Valid command line options and their syntax can be listed by using |
| 38 |
|
| 39 |
.RS |
| 40 |
scanimage \-\-help \-d rts8891 |
| 41 |
.RE |
| 42 |
|
| 43 |
.TP |
| 44 |
.B Scan Mode Options |
| 45 |
|
| 46 |
.TP |
| 47 |
.B \-\-mode |
| 48 |
selects the basic mode of operation of the scanner. Valid choices are |
| 49 |
.IR "Color" , |
| 50 |
.I Gray |
| 51 |
and |
| 52 |
.IR Lineart . |
| 53 |
The default mode is |
| 54 |
.IR Color . |
| 55 |
The |
| 56 |
.I Lineart |
| 57 |
mode is for black and white only (1 bit). |
| 58 |
.I Gray |
| 59 |
will produce 256 levels of gray (8 bits). |
| 60 |
.I Color |
| 61 |
mode allows for over 16 million different colors produced from |
| 62 |
24 bits of color information. |
| 63 |
|
| 64 |
.TP |
| 65 |
.B \-\-resolution |
| 66 |
selects the resolution for a scan. The horizontal and vertical resolutions are set |
| 67 |
by the value of this option. The scanner is capable of the following resolutions for the specified option value: |
| 68 |
.PP |
| 69 |
.RS |
| 70 |
.ft CR |
| 71 |
.nf |
| 72 |
Value Hor. Resolution Vert. Resolution |
| 73 |
\-\-\-\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- |
| 74 |
75 75dpi 75dpi |
| 75 |
150 150dpi 150dpi |
| 76 |
300 300dpi 300dpi |
| 77 |
600 600dpi 600dpi |
| 78 |
1200 1200dpi 1200dpi |
| 79 |
.fi |
| 80 |
.ft R |
| 81 |
.RE |
| 82 |
|
| 83 |
.TP |
| 84 |
.B \-\-preview |
| 85 |
requests a preview scan. The resolution used for that scan is 75 dpi |
| 86 |
and the scan area and the scan mode are as specified through their options, |
| 87 |
or the default if not specified. The default value for preview mode is "no". |
| 88 |
|
| 89 |
.TP |
| 90 |
.B \-\-threshold |
| 91 |
selects the minimum\-brightness to get a white point. The threshold is only used with Lineart mode scans. |
| 92 |
It is specified as a percentage in the range 0..100% (in steps of 1). |
| 93 |
The default value of the threshold option is 50. |
| 94 |
|
| 95 |
|
| 96 |
.SH "CONFIGURATION FILE" |
| 97 |
The configuration file |
| 98 |
.I /etc/sane.d/rts8891.conf |
| 99 |
contains the usb device ids of supported scanners (eg usb 0x043d 0x007c) and scanner configuration options. |
| 100 |
Empty lines and lines starting with a hash mark (#) are |
| 101 |
ignored. |
| 102 |
.PP |
| 103 |
The options supported are |
| 104 |
.BR allowsharing , |
| 105 |
.B modelnumber |
| 106 |
. |
| 107 |
|
| 108 |
Option |
| 109 |
.TP |
| 110 |
.B allowsharing |
| 111 |
enables or not the sharing of the scanner between multiple frontends at the same time. |
| 112 |
.TP |
| 113 |
.B modelnumber |
| 114 |
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. |
| 115 |
|
| 116 |
.RS |
| 117 |
.ft CR |
| 118 |
.nf |
| 119 |
0 to report a HP4470c. |
| 120 |
1 to report a HP4400c. |
| 121 |
2 to report an Astra 4400. |
| 122 |
.fi |
| 123 |
.ft R |
| 124 |
.RE |
| 125 |
|
| 126 |
.SH "FILES" |
| 127 |
.TP |
| 128 |
.I /usr/lib/x86_64-linux-gnu/sane/libsane\-rts8891.a |
| 129 |
The static library implementing this backend. |
| 130 |
.TP |
| 131 |
.I /usr/lib/x86_64-linux-gnu/sane/libsane\-rts8891.so |
| 132 |
The shared library implementing this backend (present on systems that |
| 133 |
support dynamic loading). |
| 134 |
|
| 135 |
.SH "ENVIRONMENT" |
| 136 |
.TP |
| 137 |
.B SANE_DEBUG_RTS8891 SANE_DEBUG_RTS8891_LOW SANE_DEBUG_RTS88XX_LIB |
| 138 |
If the library was compiled with debug support enabled, these |
| 139 |
environment variables control the debug level for this backend. E.g., |
| 140 |
a value of 255 requests all debug output to be printed. Smaller levels |
| 141 |
reduce verbosity. |
| 142 |
|
| 143 |
.SH "LIMITATIONS" |
| 144 |
Scanners of the same model exist with different sensors, due to lack of data |
| 145 |
(ie USB logs) some sensors are better supported than others. At least 75 dpi |
| 146 |
mode is working for any model. Sharing the scanner between several frontends |
| 147 |
at the same time (allowsharing option) may not work on some USB controllers. |
| 148 |
.PP |
| 149 |
XPA is not (yet) supported. |
| 150 |
.SH "BUGS" |
| 151 |
.br |
| 152 |
No bugs currently known. |
| 153 |
|
| 154 |
.SH "SEE ALSO" |
| 155 |
.BR sane\-scsi (5), |
| 156 |
.BR scanimage (1), |
| 157 |
.BR xscanimage (1), |
| 158 |
.BR xsane (1), |
| 159 |
.BR sane (7) |
| 160 |
|
| 161 |
.SH "AUTHOR" |
| 162 |
.TP |
| 163 |
This backend has been developed by St\['e]phane Voltz. |
| 164 |
.I http://stef.dev.free.fr/sane/rts8891 |
| 165 |
|
| 166 |
.SH "CREDITS" |
| 167 |
.TP |
| 168 |
Many thanks go to: |
| 169 |
Laurent Fournier who donated me a HP4470c. |
| 170 |
Vladimir Sysoev and "TheUnruly Squash" for the time they spent recording |
| 171 |
USB activity and testing the experimental version on HP4400 models. |