kopia lustrzana https://gitlab.com/sane-project/backends
Include updates from backend version 0.9 (from
karsten.festag@t-online.de (Karsten Festag)). Henning Meier-Geinitz <henning@meier-geinitz.de>DEVEL_2_0_BRANCH-1
rodzic
f6c81bd30c
commit
131aafb1ff
|
@ -1,5 +1,7 @@
|
||||||
.TH sane-microtek2 5 "06 Nov 1998"
|
. .IX sane-microtek2
|
||||||
.IX sane-microtek2
|
." Process this file with
|
||||||
|
." groff -man -Tascii sane-microtek2
|
||||||
|
.TH sane-microtek2 5 "19 May 2001"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
sane-microtek2 - SANE backend for Microtek scanners with SCSI-2 command set
|
sane-microtek2 - SANE backend for Microtek scanners with SCSI-2 command set
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
@ -7,170 +9,299 @@ The
|
||||||
.B sane-microtek2
|
.B sane-microtek2
|
||||||
library implements a SANE (Scanner Access Now Easy) backend that
|
library implements a SANE (Scanner Access Now Easy) backend that
|
||||||
provides access to some Microtek scanners with a SCSI-2 command set.
|
provides access to some Microtek scanners with a SCSI-2 command set.
|
||||||
This backend should be considered alpha.
|
This backend can be considered alpha. Some scanner models are reported to work
|
||||||
|
well, others not.
|
||||||
.PP
|
.PP
|
||||||
There exists a different backend for Microtek scanners with SCSI-1
|
There exists a different backend for Microtek scanners with SCSI-1 command
|
||||||
command set. Refer to sane-microtek(5) for details.
|
set.
|
||||||
|
Refer to sane-microtek(5) for details.
|
||||||
.PP
|
.PP
|
||||||
At present, the following
|
And there is work in progress for the ScanMaker 3600.
|
||||||
scanners are known positively to work with this backend:
|
See http://sourceforge.net/projects/sm3600
|
||||||
.PP
|
.PP
|
||||||
.RS
|
At present, the following scanners are known positively to work with this
|
||||||
Vendor Product id: Remark:
|
backend:
|
||||||
|
.PP
|
||||||
|
Vendor Product id: Remark
|
||||||
|
.br
|
||||||
|
-------- -------------- -------------
|
||||||
|
.br
|
||||||
|
Microtek E3+ Parport and SCSI
|
||||||
|
.br
|
||||||
|
Microtek X6 SCSI
|
||||||
|
.br
|
||||||
|
Microtek X6EL SCSI
|
||||||
|
.br
|
||||||
|
Microtek X6USB USB
|
||||||
|
.br
|
||||||
|
Microtek ScanMaker V300 Parport and SCSI
|
||||||
|
.br
|
||||||
|
Microtek ScanMaker V310 Parport and SCSI
|
||||||
|
.br
|
||||||
|
Microtek ScanMaker V600 Parport and SCSI
|
||||||
|
.br
|
||||||
|
Microtek ScanMaker 330 SCSI
|
||||||
|
.br
|
||||||
|
Microtek ScanMaker 630 SCSI
|
||||||
|
.br
|
||||||
|
Microtek ScanMaker 636 SCSI
|
||||||
|
.br
|
||||||
|
Microtek ScanMaker 9600XL SCSI; only flatbed mode?
|
||||||
|
.br
|
||||||
|
Microtek Phantom 330CX Parport
|
||||||
.br
|
.br
|
||||||
-------- -------------- -----------
|
Microtek SlimScan C3 Parport
|
||||||
.br
|
.br
|
||||||
Microtek E3plus all modes ok
|
Microtek Phantom 636 SCSI
|
||||||
.br
|
.br
|
||||||
Microtek X6 all modes ok
|
Microtek Phantom 636CX Parport
|
||||||
.br
|
.br
|
||||||
Microtek ScanMaker 330 all modes ok
|
Microtek V6USL SCSI (and USB ???)
|
||||||
.br
|
.br
|
||||||
Microtek ScanMaker 630 all modes ok
|
Vobis HighScan SCSI (E3+ based models)
|
||||||
.br
|
.br
|
||||||
Microtek ScanMaker 636 all modes ok
|
Scanport? SQ300 Parport?
|
||||||
.br
|
.br
|
||||||
Microtek Phantom 636 all modes ok
|
Scanpaq SQ2030 Parport
|
||||||
.br
|
.PP
|
||||||
Vobis HighScan all modes ok
|
Additional information can be found at
|
||||||
.RE
|
.B www.mostang.com/sane/
|
||||||
.PP
|
.
|
||||||
If you own a Microtek scanner with SCSI-2 interface other than the ones
|
If you own a Microtek scanner with SCSI-2 interface other than the ones
|
||||||
listed above, it may or may not work with SANE!
|
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.
|
||||||
|
.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!
|
||||||
|
.PP
|
||||||
|
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
|
||||||
|
- put the line
|
||||||
|
.br
|
||||||
|
"option dump 2" into your
|
||||||
|
.I microtek2.conf
|
||||||
|
file or change the existing "option dump" to "2"
|
||||||
|
.TP
|
||||||
|
- in a terminal (bash) type
|
||||||
|
.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.
|
||||||
|
|
||||||
.SH "FRONTEND OPTIONS"
|
.SH "FRONTEND OPTIONS"
|
||||||
This backend dynamically enables the options for the frontend,
|
This backend dynamically enables the options for the frontend, that are
|
||||||
that are supported by the scanner in dependence of the scanning-mode
|
supported by the scanner in dependence of the scanning-mode and other
|
||||||
and other options. Not supported options are disabled.
|
options.
|
||||||
.PP
|
Not supported options are disabled.
|
||||||
|
.PP
|
||||||
The following options are supported by the Microtek2-driver:
|
The following options are supported by the Microtek2-driver:
|
||||||
.PP
|
.PP
|
||||||
Color, grayscale, halftone and lineart scans.
|
Color, grayscale, halftone and lineart scans.
|
||||||
.PP
|
.PP
|
||||||
Highlight, midtone, shadow, contrast, brightness, exposure time control,
|
Highlight, midtone, shadow, contrast, brightness, exposure time control,
|
||||||
gamma correction, threshold (dependent of the scan mode)
|
gamma correction, threshold (dependent of the scan mode and the scanner
|
||||||
.PP
|
capabilities)
|
||||||
|
.PP
|
||||||
Transparency media adapter, automatic document feeder
|
Transparency media adapter, automatic document feeder
|
||||||
|
.PP
|
||||||
|
Additional options can be enabled or disabled in the
|
||||||
|
.I microtek2.conf
|
||||||
|
file. See the configuration section of this manpage.
|
||||||
|
|
||||||
.SH "DEVICE NAMES"
|
.SH "DEVICE NAMES"
|
||||||
This backend expects device names of the form:
|
This backend expects device names of the form:
|
||||||
.PP
|
.PP
|
||||||
.RS
|
.RS
|
||||||
.IR special
|
.I special
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
Where
|
Where
|
||||||
.I special
|
.I special
|
||||||
is the UNIX path-name for the special device that corresponds to the
|
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
|
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
|
symlink to such a device. Under Linux, such a device name could be
|
||||||
.IR /dev/sga
|
.I /dev/sga
|
||||||
or
|
or
|
||||||
.IR /dev/sge ,
|
.I /dev/sge
|
||||||
for example.
|
for example.
|
||||||
.SH CONFIGURATION
|
.SH "CONFIGURATION"
|
||||||
The configuration file for this backend resides in
|
The configuration file for this backend resides in
|
||||||
.IR @CONFIGDIR@/microtek2.conf .
|
.I @CONFIGDIR@/microtek2.conf
|
||||||
|
.
|
||||||
Its contents is a list of device names that correspond to Microtek
|
Its contents is a list of device names that correspond to Microtek
|
||||||
scanners with SCSI-2 interface. Empty lines and lines starting with
|
scanners with SCSI-2 interface. Empty lines and lines starting with
|
||||||
a hash mark (#) are ignored.
|
a hash mark (#) are ignored.
|
||||||
.PP
|
.PP
|
||||||
The configuration file may also contain options. Currently two options are
|
The configuration file may also contain options. Global options that are valid
|
||||||
supported:
|
for all devices are placed above the device names. Device-specific options
|
||||||
.PP
|
are
|
||||||
|
placed under the device name. Currently the following options are supported:
|
||||||
|
.PP
|
||||||
.RS
|
.RS
|
||||||
option dump <n>
|
option dump <n>
|
||||||
.br
|
.br
|
||||||
option strip-height <n>
|
option strip-height <n>
|
||||||
|
.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>
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
If
|
|
||||||
.I option dump <n>
|
.I option dump <n>
|
||||||
is enabled additional informations about the SCSI
|
enables printing of additional information about the SCSI commands that are sent to
|
||||||
commands that are sent to the scanner are printed to stderr. This option
|
the scanner to stderr. This option is primarily useful for debugging purpose.
|
||||||
is primarily useful for debugging purpose.
|
This option has to be a global option and is best placed at the top of the
|
||||||
.PP
|
.I microtek2.conf
|
||||||
|
file.
|
||||||
|
.PP
|
||||||
If n=1 the contents of the command blocks
|
If n=1 the contents of the command blocks
|
||||||
and the results for the INQUIRY and READ SCANNER ATTRIBUTES command are
|
and the results for the INQUIRY and READ SCANNER ATTRIBUTES command are
|
||||||
printed to stderr.
|
printed to stderr.
|
||||||
.PP
|
.PP
|
||||||
If n=2 the contents of the command blocks for all other SCSI commands are
|
If n=2 the contents of the command blocks for all other SCSI commands are
|
||||||
printed to stderr, too. If n=3 the contents of the gamma table is
|
printed to stderr, too. If n=3 the contents of the gamma table is
|
||||||
printed, too. If n=4 all scan data is additionally printed to stderr.
|
printed, too. If n=4 all scan data is additionally printed to stderr.
|
||||||
.PP
|
.PP
|
||||||
The default is n=1.
|
The default is n=1.
|
||||||
.PP
|
.PP
|
||||||
The
|
|
||||||
.I option strip-height <n>
|
.I option strip-height <n>
|
||||||
, where <n> is a floating point number, limits the amount of data that is
|
, where <n> is a floating point number, limits the amount of data that is
|
||||||
read from the scanner with one read command.
|
read from the scanner with one read command.
|
||||||
The unit is inch and <n> defaults to 1.0,
|
The unit is inch and <n> defaults to 1.0, if this option is not set in the
|
||||||
if this option is not set in the configuration file. If less than <n> inch
|
configuration file. If less than <n> inch of data fit into the SCSI buffer,
|
||||||
of data fit into the SCSI buffer, then the smaller value is used and this
|
then the smaller value is used and this option has no effect.
|
||||||
option has no effect.
|
.PP
|
||||||
.PP
|
|
||||||
If your system has a big SCSI buffer and you want to make use of the whole
|
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,
|
buffer, increase the value for <n>. For example, if <n> is set to 14.0,
|
||||||
no restrictions apply for scanners with a letter, legal or A4 sized
|
no restrictions apply for scanners with a letter, legal or A4 sized scan area.
|
||||||
scan area.
|
.PP
|
||||||
.PP
|
.PP
|
||||||
At present the options apply to all devices in the configuration file and
|
The following options enable or disable additional frontend options. If an
|
||||||
cannnot be set on a per device basis.
|
option is set to <on> an appropriate option will appear in the frontend.
|
||||||
.PP
|
.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 this option 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.
|
||||||
|
.PP
|
||||||
A sample configuration file is shown below:
|
A sample configuration file is shown below:
|
||||||
.PP
|
.PP
|
||||||
.RS
|
.RS
|
||||||
option dump 1
|
option dump 1
|
||||||
.br
|
.br
|
||||||
option strip-height 1.0
|
option strip-height 1.0
|
||||||
.br
|
.br
|
||||||
/dev/scanner
|
/dev/scanner
|
||||||
.br
|
.br
|
||||||
|
option no-backtrack-option on
|
||||||
|
.br
|
||||||
# this is a comment
|
# this is a comment
|
||||||
.br
|
.br
|
||||||
/dev/sge
|
/dev/sge
|
||||||
|
.br
|
||||||
|
option lightlid-35 on
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
This backend also supports the new configuration file format which makes
|
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
|
it easier to detect scanners under Linux. If you have only one scanner it
|
||||||
would be best to use the configuration file for this backend, that
|
would be best to use the following configuration file for this backend:
|
||||||
is distributed with SANE. This file is shown below:
|
.PP
|
||||||
.PP
|
|
||||||
.RS
|
.RS
|
||||||
option dump 1
|
option dump 1
|
||||||
.br
|
.br
|
||||||
option strip-height 14.0
|
option strip-height 14.0
|
||||||
.br
|
.br
|
||||||
|
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
|
||||||
scsi * * Scanner
|
scsi * * Scanner
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
In this case all SCSI-Scanners should be detected automatically.
|
In this case all SCSI-Scanners should be detected automatically because of the
|
||||||
|
.PP
|
||||||
|
scsi * * Scanner
|
||||||
|
.PP
|
||||||
|
line.
|
||||||
|
|
||||||
.SH FILES
|
.SH "FILES"
|
||||||
.TP
|
.TP
|
||||||
.I @CONFIGDIR@/microtek2.conf
|
.I @CONFIGDIR@/microtek2.conf
|
||||||
The backend configuration file.
|
The backend configuration file.
|
||||||
.TP
|
.TP
|
||||||
.I @LIBDIR@/libsane-microtek2.a
|
.I @LIBDIR@/libsane-microtek2.a
|
||||||
The static library implementing this backend.
|
The static library implementing this backend.
|
||||||
.TP
|
.TP
|
||||||
.I @LIBDIR@/libsane-microtek2.so
|
.I @LIBDIR@/libsane-microtek2.so
|
||||||
The shared library implementing this backend (present on systems that
|
The shared library implementing this backend (present on systems that
|
||||||
support dynamic loading).
|
support dynamic loading).
|
||||||
.SH ENVIRONMENT
|
.SH "ENVIRONMENT"
|
||||||
.TP
|
.TP
|
||||||
.B SANE_DEBUG_MICROTEK2
|
.B SANE_DEBUG_MICROTEK2
|
||||||
If the library was compiled with debug support enabled, this
|
If the library was compiled with debug support enabled, this
|
||||||
environment variable controls the debug level for this backend. E.g.,
|
environment variable controls the debug level for this backend. E.g.,
|
||||||
a value of 128 requests all debug output to be printed. Smaller
|
a value of 255 requests all debug output to be printed. Smaller
|
||||||
levels reduce verbosity. To see error messages on stderr set
|
levels reduce verbosity. To see error messages on stderr set
|
||||||
SANE_DEBUG_MICROTEK2 to 1 (Remark: The whole debugging levels should
|
SANE_DEBUG_MICROTEK2 to 1 (Remark: The whole debugging levels should
|
||||||
be better revised).
|
be better revised).
|
||||||
.br
|
.br
|
||||||
E.g. just say:
|
E.g. just say:
|
||||||
.br
|
.br
|
||||||
export SANE_DEBUG_MICROTEK2=128
|
export SANE_DEBUG_MICROTEK2=128
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
sane-scsi(5)
|
sane-scsi(5), sane(7)
|
||||||
.SH AUTHOR
|
.SH "AUTHORS"
|
||||||
Bernd Schroeder
|
Bernd Schroeder (not active anymore)
|
||||||
|
.br
|
||||||
|
Karsten Festag karsten.festag@t-online.de
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue