| 1 |
.TH sane\-coolscan2 5 "11 Jul 2008" "" "SANE Scanner Access Now Easy" |
| 2 |
.IX sane\-coolscan2 |
| 3 |
.SH NAME |
| 4 |
sane\-coolscan2 \- SANE backend for Nikon Coolscan film scanners |
| 5 |
.SH DESCRIPTION |
| 6 |
The |
| 7 |
.B sane\-coolscan2 |
| 8 |
library implements a SANE (Scanner Access Now Easy) backend that |
| 9 |
provides access to Nikon Coolscan film scanners. Some functions of this |
| 10 |
backend should be considered |
| 11 |
.B beta-quality |
| 12 |
software. Most functions have been stable for a long time, but of |
| 13 |
course new development can not and will not function properly from |
| 14 |
the very first day. Please report any strange behaviour to the |
| 15 |
maintainer of the backend. |
| 16 |
|
| 17 |
.PP |
| 18 |
At present, the following scanners are known to work with this backend: |
| 19 |
.PP |
| 20 |
.RS |
| 21 |
.ft CR |
| 22 |
.nf |
| 23 |
Model: Connection Type |
| 24 |
--------------------------- ------------------- |
| 25 |
LS-30 (Coolscan III) SCSI |
| 26 |
LS-2000 SCSI |
| 27 |
LS-40 ED (Coolscan IV) USB |
| 28 |
LS-4000 ED IEEE 1394 |
| 29 |
LS-8000 ED IEEE 1394 |
| 30 |
.fi |
| 31 |
.ft R |
| 32 |
.RE |
| 33 |
|
| 34 |
Please send mail to the backend author ([email protected]) to |
| 35 |
report successes or failures. |
| 36 |
|
| 37 |
.SH OPTIONS |
| 38 |
The options the backend supports can either be selected through command line |
| 39 |
options to programs like |
| 40 |
.BR scanimage (1) |
| 41 |
or through GUI elements in |
| 42 |
.BR xscanimage (1) |
| 43 |
or |
| 44 |
.BR xsane (1). |
| 45 |
|
| 46 |
Valid command line options and their syntax can be listed by using: |
| 47 |
.PP |
| 48 |
.RS |
| 49 |
scanimage \-\-help \-d coolscan2:<interface>:<device> |
| 50 |
.RE |
| 51 |
.PP |
| 52 |
where <interface> and <device> specify the device in question, as in the |
| 53 |
configuration file (see next section). The |
| 54 |
.B \-d |
| 55 |
parameter and its argument |
| 56 |
can be omitted to obtain information on the first scanner identified. Use |
| 57 |
the command: |
| 58 |
.PP |
| 59 |
.RS |
| 60 |
scanimage \-L |
| 61 |
.RE |
| 62 |
.PP |
| 63 |
to list all devices recognized by your SANE installation. |
| 64 |
|
| 65 |
The options should be fully described by the description or tooltips given by |
| 66 |
frontend. Here is a description of some of the most important options, in the |
| 67 |
syntax with which they must be supplied to |
| 68 |
.BR scanimage (1): |
| 69 |
.TP |
| 70 |
.B \-\-frame <n> |
| 71 |
This option specifies which frame to operate on, if a motorized film strip |
| 72 |
feeder or APS adapter are used. The frame number |
| 73 |
.I <n> |
| 74 |
ranges from 1 to the number of frames available, which is sensed each time |
| 75 |
the backend is initialized (usually each time you start the frontend). |
| 76 |
.TP |
| 77 |
.B \-\-subframe <x> |
| 78 |
This option shifts the scan window by the specified amount (default |
| 79 |
unit is mm). |
| 80 |
.TP |
| 81 |
.B \-\-infrared=yes/no |
| 82 |
If set to "yes", the scanner will read the infrared channel, thus allowing |
| 83 |
defect removal in software. The infrared image is read during a second scan, |
| 84 |
with no options altered. The backend must not be restarted between the scans. |
| 85 |
If you use |
| 86 |
.BR scanimage (1), |
| 87 |
perform a batch scan with |
| 88 |
.B \-\-batch\-count=2 |
| 89 |
to obtain the IR information. |
| 90 |
.TP |
| 91 |
.B \-\-depth <n> |
| 92 |
Here <n> can either be 8 or the maximum number of bits supported by the |
| 93 |
scanner (10, 12, or 14). It specifies whether or not the scanner reduces |
| 94 |
the scanned data to 8 bits before sending it to the backend. If 8 bits are |
| 95 |
used, some information and thus image quality is lost, but the amount of data |
| 96 |
is smaller compared to higher depths. Also, many imaging programs and image |
| 97 |
formats cannot handle depths greater than 8 bits. |
| 98 |
.TP |
| 99 |
.B \-\-autofocus |
| 100 |
Perform autofocus operation. Unless otherwise specified by the other options ( |
| 101 |
.B \-\-focus\-on\-centre |
| 102 |
and friends), focusing is performed on the centre of the selected scan area. |
| 103 |
.TP |
| 104 |
.B \-\-ae\-wb |
| 105 |
.TP |
| 106 |
.B \-\-ae |
| 107 |
Perform a pre-scan to calculate exposure values automatically. |
| 108 |
.B \-\-ae\-wb |
| 109 |
will maintain the white balance, while |
| 110 |
.B \-\-ae |
| 111 |
will adjust each channel separately. |
| 112 |
.TP |
| 113 |
.B \-\-exposure |
| 114 |
Multiply all exposure times with this value. This allows exposure |
| 115 |
correction without modifying white balance. |
| 116 |
.TP |
| 117 |
.B \-\-load |
| 118 |
Load the next slide when using the slide loader |
| 119 |
(applies only to the SF\-200 bulk feeder). |
| 120 |
.TP |
| 121 |
.B \-\-eject |
| 122 |
Eject the film strip or mounted slide when using the slide loader. |
| 123 |
.TP |
| 124 |
.B \-\-reset |
| 125 |
Reset scanner. The scanner will perform the same action as when power is |
| 126 |
turned on: it will eject the slide (with the SF\-200 bulk feeder) |
| 127 |
and calibrate itself. Use this whenever the scanner refuses to load |
| 128 |
a slide properly, as a result of |
| 129 |
which |
| 130 |
.B \-\-eject |
| 131 |
does not work. |
| 132 |
|
| 133 |
.SH CONFIGURATION FILE |
| 134 |
The configuration file |
| 135 |
.I /etc/sane.d/coolscan2.conf |
| 136 |
specifies the device(s) |
| 137 |
that the backend will use. Owing to the nature of the supported connection |
| 138 |
types SCSI, USB, and IEEE 1394, the default configuration file supplied with |
| 139 |
the SANE distribution should work without being edited. |
| 140 |
|
| 141 |
Each line in the configuration file is either of the following, where all |
| 142 |
entries are case-sensitive: |
| 143 |
.TP |
| 144 |
.I blank or starting with a '#' character |
| 145 |
These lines are ignored, thus '#' can be used to include comments. |
| 146 |
.TP |
| 147 |
.I containing only the word """auto""" |
| 148 |
This instructs the backend to probe for a scanner by scanning the buses for |
| 149 |
devices with known identifiers. This is the default action when no |
| 150 |
configuration file is present. |
| 151 |
.TP |
| 152 |
.I a line of the form <interface>:<device> |
| 153 |
Here <interface> can be one of "scsi" or "usb", and <device> is the device |
| 154 |
file of the scanner. Note that IEEE 1394 devices are handled by the SBP-2 |
| 155 |
module in the kernel and appear to SANE as SCSI devices. |
| 156 |
|
| 157 |
.SH FILES |
| 158 |
.TP |
| 159 |
.I /usr/lib/x86_64-linux-gnu/sane/libsane\-coolscan2.a |
| 160 |
The static library implementing this backend. |
| 161 |
.TP |
| 162 |
.I /usr/lib/x86_64-linux-gnu/sane/libsane\-coolscan2.so |
| 163 |
The shared library implementing this backend (present on systems that |
| 164 |
support dynamic loading). |
| 165 |
.TP |
| 166 |
.I /etc/sane.d/coolscan2.conf |
| 167 |
Configuration file for this backend, read each time the backend is |
| 168 |
initialized. |
| 169 |
|
| 170 |
.SH ENVIRONMENT |
| 171 |
.TP |
| 172 |
.B SANE_DEBUG_COOLSCAN2 |
| 173 |
If the library was compiled with debug support enabled, this |
| 174 |
environment variable controls the debug level for this backend. E.g., |
| 175 |
a value of 128 requests all debug output to be printed. Smaller |
| 176 |
levels reduce verbosity. |
| 177 |
|
| 178 |
.SH "SEE ALSO" |
| 179 |
.BR sane\-scsi (5), |
| 180 |
.BR sane\-usb (5), |
| 181 |
.BR scanimage (1), |
| 182 |
.BR xscanimage (1), |
| 183 |
.BR xsane (1) |
| 184 |
|
| 185 |
.SH BUGS |
| 186 |
Currently, the SANE protocol does not allow automatically updating options |
| 187 |
whenever the hardware changes. Thus the number of choices for the |
| 188 |
.B \-\-frame |
| 189 |
option will be fixed when the backend is initialized (usually when the user |
| 190 |
runs the frontend). In particular, if there is no film strip in the |
| 191 |
automatic film strip feeder when the backend is initialized, the |
| 192 |
.B \-\-frame |
| 193 |
option will not appear at all. Also, restarting the frontend after swapping film |
| 194 |
adapters is strongly recommended. |
| 195 |
|
| 196 |
Linux kernels prior to 2.4.19 had a patch that truncated INQUIRY data |
| 197 |
from IEEE 1394 scanners to 36 bytes, discarding vital information |
| 198 |
about the scanner. The IEEE 1394 models therefore only work with |
| 199 |
2.4.19 or later. |
| 200 |
|
| 201 |
No real bugs currently known, please report any to the backend maintainer |
| 202 |
or the SANE developers' email list. |
| 203 |
|
| 204 |
.SH AUTHORS |
| 205 |
The backend is written and maintained by Andr\['a]s Major |
| 206 |
.IR <[email protected]> . |