2002-11-29 20:15:39 +00:00
|
|
|
.TH sane-microtek2 5 "28 Jan 2002" "@PACKAGEVERSION@" "SANE Scanner Access Now Easy"
|
1999-08-09 18:05:55 +00:00
|
|
|
.SH NAME
|
2002-11-29 20:15:39 +00:00
|
|
|
sane-microtek2 \- SANE backend for Microtek scanners with SCSI-2 command set
|
1999-08-09 18:05:55 +00:00
|
|
|
.SH DESCRIPTION
|
|
|
|
The
|
|
|
|
.B sane-microtek2
|
|
|
|
library implements a SANE (Scanner Access Now Easy) backend that
|
2002-02-02 16:51:35 +00:00
|
|
|
provides access to Microtek scanners with a SCSI-2 command set.
|
|
|
|
This backend can be considered alpha to beta. Some scanner models are reported
|
|
|
|
to work well, others not. New development versions of this backend can be
|
|
|
|
obtained from
|
2002-05-24 22:41:40 +00:00
|
|
|
.B http://karstenfestag.gmxhome.de
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
2002-02-02 16:51:35 +00:00
|
|
|
There exists a different backend for Microtek scanners with SCSI-1 command
|
|
|
|
set.
|
|
|
|
Refer to sane-microtek(5) for details.
|
1999-08-09 18:05:55 +00:00
|
|
|
.PP
|
2002-02-02 16:51:35 +00:00
|
|
|
And there is work in progress for the ScanMaker 3600.
|
|
|
|
See
|
|
|
|
.B http://sourceforge.net/projects/sm3600
|
|
|
|
.PP
|
|
|
|
At present, the following scanners are known positively to work with this
|
|
|
|
backend:
|
2004-12-05 18:08:10 +00:00
|
|
|
.TS
|
|
|
|
tab(:), box;
|
|
|
|
lb lb lb
|
|
|
|
l l l.
|
|
|
|
Vendor:Product id:Remark
|
|
|
|
=
|
|
|
|
Microtek:E3+:Parport and SCSI
|
|
|
|
Microtek:X6:SCSI
|
|
|
|
Microtek:X6EL:SCSI
|
|
|
|
Microtek:X6USB:USB
|
|
|
|
Microtek:ScanMaker V300:Parport and SCSI
|
|
|
|
Microtek:ScanMaker V310:Parport and SCSI
|
|
|
|
Microtek:ScanMaker V600:Parport and SCSI
|
|
|
|
Microtek:ScanMaker 330:SCSI
|
|
|
|
Microtek:ScanMaker 630:SCSI
|
|
|
|
Microtek:ScanMaker 636:SCSI
|
|
|
|
Microtek:ScanMaker 9600XL:SCSI; only flatbed mode?
|
|
|
|
Microtek:Phantom 330CX:Parport
|
|
|
|
Microtek:SlimScan C3:Parport
|
|
|
|
Microtek:SlimScan C6:USB
|
|
|
|
Microtek:Phantom 636:SCSI
|
|
|
|
Microtek:Phantom 636CX:Parport
|
|
|
|
Microtek:V6USL:SCSI and USB
|
|
|
|
Microtek:V6UPL:USB; not stable
|
|
|
|
Microtek:X12USL:SCSI; only 8bit color, work in progress
|
|
|
|
Vobis:HighScan:SCSI (E3+ based models)
|
|
|
|
Scanport:SQ300:Parport?
|
|
|
|
Scanport:SQ4836:SCSI
|
|
|
|
Scanpaq:SQ2030:Parport
|
|
|
|
.TE
|
2002-02-02 16:51:35 +00:00
|
|
|
.PP
|
|
|
|
Additional information can be found at
|
2005-11-24 20:17:43 +00:00
|
|
|
.BR http://www.sane-project.org/ .
|
2002-02-02 16:51:35 +00:00
|
|
|
.PP
|
|
|
|
If you own a Microtek scanner other than the ones listed above,
|
|
|
|
it may or may not work with SANE! Because equal scanners are sold under
|
|
|
|
different names in different countries your model may be equivalent to one of
|
|
|
|
the above.
|
|
|
|
.PP
|
|
|
|
The parport scanners work with the ppscsi + onscsi kernel modules. See
|
2005-11-06 19:34:52 +00:00
|
|
|
.I http://cyberelk.net/tim/parport/ppscsi.html
|
|
|
|
and
|
|
|
|
.IR http://penguin-breeder.org/kernel/download/ .
|
|
|
|
|
2002-02-02 16:51:35 +00:00
|
|
|
.PP
|
|
|
|
The USB scanners work with the microtek kernel module. You may have to add the
|
|
|
|
vendor and model codes to microtek.c if they aren't yet listed there.
|
|
|
|
.PP
|
|
|
|
Both parport and USB scanners need the generic SCSI support, so check if you
|
|
|
|
have loaded the scsi_mod and sg modules!
|
|
|
|
.PP
|
|
|
|
If you try your scanner for the first time keep an eye on it. If it gets
|
|
|
|
commands that it doesn't understand the scanhead may go beyond the scan area.
|
|
|
|
The scanner then makes strange noises. In this case immedieately switch off
|
|
|
|
the scanner or disconnect its power cable to prevent damages!
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
2002-02-02 16:51:35 +00:00
|
|
|
If your scanner is a different one than the models mentioned above and it is
|
|
|
|
working please tell the author about it. It would be nice if you add a logfile
|
|
|
|
to this information (creation of the logfile: see below).
|
|
|
|
.PP
|
|
|
|
If your scanner is not working properly you also should create a logfile and
|
|
|
|
send it to the author. He will use the information to improve the backend and
|
|
|
|
possibly make your scanner work.
|
|
|
|
.PP
|
|
|
|
.br
|
|
|
|
How to create the logfile?
|
|
|
|
.TP
|
2005-04-12 06:01:14 +00:00
|
|
|
\- put the line
|
2002-02-02 16:51:35 +00:00
|
|
|
.br
|
|
|
|
"option dump 2" into your
|
|
|
|
.I microtek2.conf
|
2005-04-12 06:01:14 +00:00
|
|
|
file or change the existing "option dump" to "2"
|
2002-02-02 16:51:35 +00:00
|
|
|
.TP
|
2005-04-12 06:01:14 +00:00
|
|
|
\- in a terminal (bash) type
|
2002-02-02 16:51:35 +00:00
|
|
|
.br
|
|
|
|
"export SANE_DEBUG_MICROTEK2=30" and then
|
|
|
|
.br
|
|
|
|
"scanimage -l0 -t0 -x100 -y20 2>scan.log >sout.pnm"
|
|
|
|
.br
|
|
|
|
You get two files: scan.log contains the logfile and sout.pnm the scanned
|
|
|
|
image (if there was scanned something). Zip them before sending.
|
1999-08-09 18:05:55 +00:00
|
|
|
|
|
|
|
.SH "FRONTEND OPTIONS"
|
2002-02-02 16:51:35 +00:00
|
|
|
This backend dynamically enables the options for the frontend, that are
|
|
|
|
supported by the scanner in dependence of the scanning-mode and other
|
|
|
|
options.
|
|
|
|
Not supported options are disabled.
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
1999-08-09 18:05:55 +00:00
|
|
|
The following options are supported by the Microtek2-driver:
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
1999-08-09 18:05:55 +00:00
|
|
|
Color, grayscale, halftone and lineart scans.
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
2002-02-02 16:51:35 +00:00
|
|
|
Highlight, midtone, shadow, contrast, brightness, exposure time control,
|
|
|
|
gamma correction, threshold (dependent of the scan mode and the scanner
|
|
|
|
capabilities)
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
1999-08-09 18:05:55 +00:00
|
|
|
Transparency media adapter, automatic document feeder
|
2002-02-02 16:51:35 +00:00
|
|
|
.PP
|
|
|
|
Additional options can be enabled or disabled in the
|
|
|
|
.I microtek2.conf
|
|
|
|
file. See the configuration section of this manpage.
|
1999-08-09 18:05:55 +00:00
|
|
|
|
|
|
|
.SH "DEVICE NAMES"
|
|
|
|
This backend expects device names of the form:
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
1999-08-09 18:05:55 +00:00
|
|
|
.RS
|
2002-02-02 16:51:35 +00:00
|
|
|
.I special
|
1999-08-09 18:05:55 +00:00
|
|
|
.RE
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
1999-08-09 18:05:55 +00:00
|
|
|
Where
|
|
|
|
.I special
|
|
|
|
is the UNIX path-name for the special device that corresponds to the
|
|
|
|
scanner. The special device name must be a generic SCSI device or a
|
|
|
|
symlink to such a device. Under Linux, such a device name could be
|
2002-02-02 16:51:35 +00:00
|
|
|
.I /dev/sga
|
1999-08-09 18:05:55 +00:00
|
|
|
or
|
2002-02-02 16:51:35 +00:00
|
|
|
.I /dev/sge
|
1999-08-09 18:05:55 +00:00
|
|
|
for example.
|
2002-02-02 16:51:35 +00:00
|
|
|
.SH "CONFIGURATION"
|
1999-08-09 18:05:55 +00:00
|
|
|
The configuration file for this backend resides in
|
2005-04-12 06:01:14 +00:00
|
|
|
.IR @CONFIGDIR@/microtek2.conf .
|
|
|
|
|
1999-08-09 18:05:55 +00:00
|
|
|
Its contents is a list of device names that correspond to Microtek
|
2002-02-02 16:51:35 +00:00
|
|
|
scanners with SCSI-2 interface. Empty lines and lines starting with
|
1999-08-09 18:05:55 +00:00
|
|
|
a hash mark (#) are ignored.
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
2002-02-02 16:51:35 +00:00
|
|
|
The configuration file may also contain options. Global options that are valid
|
|
|
|
for all devices are placed above the device names. Device-specific options
|
|
|
|
are
|
|
|
|
placed under the device name. Note that, except for option dump <n> and
|
|
|
|
option strip-height <n>, the entry in the microtek2.conf file only enables
|
|
|
|
the corresponding option for being showed in the frontend. There, in the
|
|
|
|
frontend, you can switch the options on and off.
|
|
|
|
Currently the following options are supported:
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
1999-08-09 18:05:55 +00:00
|
|
|
.RS
|
|
|
|
option dump <n>
|
2001-10-05 19:15:55 +00:00
|
|
|
.br
|
1999-08-09 18:05:55 +00:00
|
|
|
option strip-height <n>
|
2002-02-02 16:51:35 +00:00
|
|
|
.br
|
|
|
|
option no-backtrack-option <on/off>
|
|
|
|
.br
|
|
|
|
option lightlid-35 <on/off>
|
|
|
|
.br
|
|
|
|
option toggle-lamp <on/off>
|
|
|
|
.br
|
|
|
|
option lineart-autoadjust <on/off>
|
|
|
|
.br
|
|
|
|
option backend-calibration <on/off>
|
|
|
|
.br
|
|
|
|
option colorbalance-adjust <on/off>
|
1999-08-09 18:05:55 +00:00
|
|
|
.RE
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
1999-08-09 18:05:55 +00:00
|
|
|
.I option dump <n>
|
2002-02-02 16:51:35 +00:00
|
|
|
enables printing of additional information about the SCSI commands that are
|
|
|
|
sent to the scanner to stderr. This option is primarily useful for debugging
|
|
|
|
purpose. This option has to be a global option and is best placed at the top
|
|
|
|
of the
|
|
|
|
.I microtek2.conf
|
|
|
|
file.
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
1999-08-09 18:05:55 +00:00
|
|
|
If n=1 the contents of the command blocks
|
2002-02-02 16:51:35 +00:00
|
|
|
and the results for the INQUIRY and READ SCANNER ATTRIBUTES command are
|
1999-08-09 18:05:55 +00:00
|
|
|
printed to stderr.
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
1999-08-09 18:05:55 +00:00
|
|
|
If n=2 the contents of the command blocks for all other SCSI commands are
|
2002-02-02 16:51:35 +00:00
|
|
|
printed to stderr, too. If n=3 the contents of the gamma table is
|
1999-08-09 18:05:55 +00:00
|
|
|
printed, too. If n=4 all scan data is additionally printed to stderr.
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
1999-08-09 18:05:55 +00:00
|
|
|
The default is n=1.
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
|
|
|
.I option strip-height <n>
|
|
|
|
, where <n> is a floating point number, limits the amount of data that is
|
1999-08-09 18:05:55 +00:00
|
|
|
read from the scanner with one read command.
|
2002-02-02 16:51:35 +00:00
|
|
|
The unit is inch and <n> defaults to 1.0, if this option is not set in the
|
|
|
|
configuration file. If less than <n> inch of data fit into the SCSI buffer,
|
|
|
|
then the smaller value is used and this option has no effect.
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
1999-08-09 18:05:55 +00:00
|
|
|
If your system has a big SCSI buffer and you want to make use of the whole
|
|
|
|
buffer, increase the value for <n>. For example, if <n> is set to 14.0,
|
2002-02-02 16:51:35 +00:00
|
|
|
no restrictions apply for scanners with a letter, legal or A4 sized scan area.
|
|
|
|
.PP
|
|
|
|
.PP
|
|
|
|
The following options enable or disable additional frontend options. If an
|
|
|
|
option is set to <on> an appropriate option will appear in the frontend.
|
|
|
|
.PP
|
|
|
|
.I option no-backtrack-option <on/off>
|
|
|
|
prevents the scanner head from moving backwards between the read commands.
|
|
|
|
This speeds up scanning. Try it.
|
|
|
|
.PP
|
|
|
|
.I option lightlid-35 <on/off>
|
|
|
|
If you use the LightLid-35 transparency adapter you get an advanced
|
|
|
|
option which switches off the flatbed lamp during the scan.
|
|
|
|
.PP
|
|
|
|
.I option toggle-lamp <on/off>
|
|
|
|
You get a button in the frontend where you can switch on and off the flatbed
|
|
|
|
lamp.
|
|
|
|
.PP
|
|
|
|
.I option lineart-autoadjust <on/off>
|
|
|
|
You can tell the backend to try to determine a good value for the lineart
|
|
|
|
threshold.
|
|
|
|
.PP
|
|
|
|
.I option backend-calibration <on/off>
|
|
|
|
Some scanners (e.g. Phantom 330CX and 636CX) need to have calibrated the data
|
|
|
|
by the backend. Try this option if you see vertical stripes in your pictures.
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
2002-02-02 16:51:35 +00:00
|
|
|
.I option colorbalance-adjust <on/off>
|
|
|
|
Some scanners (e.g. Phantom 330CX and 636CX) need to have corrected
|
|
|
|
the color balance. If this option is enabled you get advanced options
|
|
|
|
where you can balance the colors. And you will have a button
|
|
|
|
to use the values that the firmware of the scanner provides.
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
1999-08-09 18:05:55 +00:00
|
|
|
A sample configuration file is shown below:
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
1999-08-09 18:05:55 +00:00
|
|
|
.RS
|
|
|
|
option dump 1
|
2001-10-05 19:15:55 +00:00
|
|
|
.br
|
1999-08-09 18:05:55 +00:00
|
|
|
option strip-height 1.0
|
2001-10-05 19:15:55 +00:00
|
|
|
.br
|
1999-08-09 18:05:55 +00:00
|
|
|
/dev/scanner
|
2001-10-05 19:15:55 +00:00
|
|
|
.br
|
2002-02-02 16:51:35 +00:00
|
|
|
option no-backtrack-option on
|
|
|
|
.br
|
1999-08-09 18:05:55 +00:00
|
|
|
# this is a comment
|
2001-10-05 19:15:55 +00:00
|
|
|
.br
|
1999-08-09 18:05:55 +00:00
|
|
|
/dev/sge
|
2002-02-02 16:51:35 +00:00
|
|
|
.br
|
|
|
|
option lightlid-35 on
|
1999-08-09 18:05:55 +00:00
|
|
|
.RE
|
|
|
|
|
|
|
|
This backend also supports the new configuration file format which makes
|
|
|
|
it easier to detect scanners under Linux. If you have only one scanner it
|
2002-02-02 16:51:35 +00:00
|
|
|
would be best to use the following configuration file for this backend:
|
2001-10-05 19:15:55 +00:00
|
|
|
.PP
|
1999-08-09 18:05:55 +00:00
|
|
|
.RS
|
|
|
|
option dump 1
|
2001-10-05 19:15:55 +00:00
|
|
|
.br
|
1999-08-09 18:05:55 +00:00
|
|
|
option strip-height 14.0
|
2001-10-05 19:15:55 +00:00
|
|
|
.br
|
2002-02-02 16:51:35 +00:00
|
|
|
option no-backtrack-option on
|
|
|
|
.br
|
|
|
|
option backend-calibration on
|
|
|
|
.br
|
|
|
|
option lightlid-35 on
|
|
|
|
.br
|
|
|
|
option toggle-lamp on
|
|
|
|
.br
|
|
|
|
option lineart-autoadjust on
|
|
|
|
.br
|
|
|
|
option colorbalance-adjust off
|
|
|
|
.br
|
1999-08-09 18:05:55 +00:00
|
|
|
scsi * * Scanner
|
|
|
|
.RE
|
|
|
|
|
2002-02-02 16:51:35 +00:00
|
|
|
In this case all SCSI-Scanners should be detected automatically because of the
|
|
|
|
.PP
|
|
|
|
scsi * * Scanner
|
|
|
|
.PP
|
|
|
|
line.
|
1999-08-09 18:05:55 +00:00
|
|
|
|
2002-02-02 16:51:35 +00:00
|
|
|
.SH "FILES"
|
2001-10-05 19:15:55 +00:00
|
|
|
.TP
|
1999-08-09 18:05:55 +00:00
|
|
|
.I @CONFIGDIR@/microtek2.conf
|
|
|
|
The backend configuration file.
|
2001-10-05 19:15:55 +00:00
|
|
|
.TP
|
1999-08-09 18:05:55 +00:00
|
|
|
.I @LIBDIR@/libsane-microtek2.a
|
|
|
|
The static library implementing this backend.
|
2001-10-05 19:15:55 +00:00
|
|
|
.TP
|
1999-08-09 18:05:55 +00:00
|
|
|
.I @LIBDIR@/libsane-microtek2.so
|
|
|
|
The shared library implementing this backend (present on systems that
|
|
|
|
support dynamic loading).
|
2002-02-02 16:51:35 +00:00
|
|
|
.SH "ENVIRONMENT"
|
2001-10-05 19:15:55 +00:00
|
|
|
.TP
|
1999-08-09 18:05:55 +00:00
|
|
|
.B SANE_DEBUG_MICROTEK2
|
|
|
|
If the library was compiled with debug support enabled, this
|
|
|
|
environment variable controls the debug level for this backend. E.g.,
|
2002-02-02 16:51:35 +00:00
|
|
|
a value of 255 requests all debug output to be printed. Smaller
|
1999-08-09 18:05:55 +00:00
|
|
|
levels reduce verbosity. To see error messages on stderr set
|
|
|
|
SANE_DEBUG_MICROTEK2 to 1 (Remark: The whole debugging levels should
|
|
|
|
be better revised).
|
2001-10-05 19:15:55 +00:00
|
|
|
.br
|
1999-08-09 18:05:55 +00:00
|
|
|
E.g. just say:
|
2001-10-05 19:15:55 +00:00
|
|
|
.br
|
1999-08-09 18:05:55 +00:00
|
|
|
export SANE_DEBUG_MICROTEK2=128
|
|
|
|
.SH "SEE ALSO"
|
2002-02-02 16:51:35 +00:00
|
|
|
sane-scsi(5), sane(7)
|
|
|
|
.SH "AUTHORS"
|
|
|
|
Bernd Schroeder (not active anymore)
|
|
|
|
.br
|
2002-05-24 22:41:40 +00:00
|
|
|
Karsten Festag karsten.festag@gmx.de
|
2002-02-02 16:51:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|