sane-project-backends/doc/sane-microtek2.man

177 wiersze
4.9 KiB
Groff
Czysty Zwykły widok Historia

1999-08-09 18:06:01 +00:00
.TH sane-microtek2 5 "06 Nov 1998"
.IX sane-microtek2
1999-08-09 18:05:55 +00:00
.SH NAME
sane-microtek2 - SANE backend for Microtek scanners with SCSI-2 command set
.SH DESCRIPTION
The
.B sane-microtek2
library implements a SANE (Scanner Access Now Easy) backend that
provides access to some Microtek scanners with a SCSI-2 command set.
1999-08-09 18:06:01 +00:00
This backend should be considered alpha.
.PP
There exists a different backend for Microtek scanners with SCSI-1
command set. Refer to sane-microtek(5) for details.
.PP
1999-08-09 18:06:01 +00:00
At present, the following
scanners are known positively to work with this backend:
1999-08-09 18:05:55 +00:00
.PP
1999-08-09 18:06:01 +00:00
.RS
Vendor Product id: Remark:
.br
1999-08-09 18:06:01 +00:00
-------- -------------- -----------
.br
1999-08-09 18:06:01 +00:00
Microtek E3plus all modes ok
.br
1999-08-09 18:06:01 +00:00
Microtek X6 all modes ok
.br
1999-08-09 18:06:01 +00:00
Microtek ScanMaker 330 all modes ok
.br
1999-08-09 18:06:01 +00:00
Microtek ScanMaker 630 all modes ok
.br
1999-08-09 18:06:01 +00:00
Microtek ScanMaker 636 all modes ok
.br
1999-08-09 18:06:01 +00:00
Microtek Phantom 636 all modes ok
.br
1999-08-09 18:06:01 +00:00
Vobis HighScan all modes ok
.RE
.PP
1999-08-09 18:06:01 +00:00
If you own a Microtek scanner with SCSI-2 interface other than the ones
listed above, it may or may not work with SANE!
1999-08-09 18:05:55 +00:00
.SH "FRONTEND OPTIONS"
1999-08-09 18:06:01 +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.
.PP
1999-08-09 18:05:55 +00:00
The following options are supported by the Microtek2-driver:
.PP
1999-08-09 18:05:55 +00:00
Color, grayscale, halftone and lineart scans.
.PP
1999-08-09 18:06:01 +00:00
Highlight, midtone, shadow, contrast, brightness, exposure time control,
gamma correction, threshold (dependent of the scan mode)
.PP
1999-08-09 18:05:55 +00:00
Transparency media adapter, automatic document feeder
.SH "DEVICE NAMES"
This backend expects device names of the form:
.PP
1999-08-09 18:05:55 +00:00
.RS
1999-08-09 18:06:01 +00:00
.IR special
1999-08-09 18:05:55 +00:00
.RE
.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
1999-08-09 18:06:01 +00:00
.IR /dev/sga
1999-08-09 18:05:55 +00:00
or
1999-08-09 18:06:01 +00:00
.IR /dev/sge ,
1999-08-09 18:05:55 +00:00
for example.
1999-08-09 18:06:01 +00:00
.SH CONFIGURATION
1999-08-09 18:05:55 +00:00
The configuration file for this backend resides in
1999-08-09 18:06:01 +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
1999-08-09 18:06:01 +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.
.PP
1999-08-09 18:06:01 +00:00
The configuration file may also contain options. Currently two options are
supported:
.PP
1999-08-09 18:05:55 +00:00
.RS
option dump <n>
.br
1999-08-09 18:05:55 +00:00
option strip-height <n>
.RE
.PP
1999-08-09 18:06:01 +00:00
If
1999-08-09 18:05:55 +00:00
.I option dump <n>
1999-08-09 18:06:01 +00:00
is enabled additional informations about the SCSI
commands that are sent to the scanner are printed to stderr. This option
is primarily useful for debugging purpose.
.PP
1999-08-09 18:05:55 +00:00
If n=1 the contents of the command blocks
1999-08-09 18:06:01 +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.
.PP
1999-08-09 18:05:55 +00:00
If n=2 the contents of the command blocks for all other SCSI commands are
1999-08-09 18:06:01 +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.
.PP
1999-08-09 18:05:55 +00:00
The default is n=1.
.PP
1999-08-09 18:06:01 +00:00
The
.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.
1999-08-09 18:06:01 +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.
.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,
1999-08-09 18:06:01 +00:00
no restrictions apply for scanners with a letter, legal or A4 sized
scan area.
.PP
1999-08-09 18:06:01 +00:00
At present the options apply to all devices in the configuration file and
cannnot be set on a per device basis.
.PP
1999-08-09 18:05:55 +00:00
A sample configuration file is shown below:
.PP
1999-08-09 18:05:55 +00:00
.RS
option dump 1
.br
1999-08-09 18:05:55 +00:00
option strip-height 1.0
.br
1999-08-09 18:05:55 +00:00
/dev/scanner
.br
1999-08-09 18:05:55 +00:00
# this is a comment
.br
1999-08-09 18:05:55 +00:00
/dev/sge
.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
1999-08-09 18:06:01 +00:00
would be best to use the configuration file for this backend, that
is distributed with SANE. This file is shown below:
.PP
1999-08-09 18:05:55 +00:00
.RS
option dump 1
.br
1999-08-09 18:05:55 +00:00
option strip-height 14.0
.br
1999-08-09 18:05:55 +00:00
scsi * * Scanner
.RE
1999-08-09 18:06:01 +00:00
In this case all SCSI-Scanners should be detected automatically.
1999-08-09 18:05:55 +00:00
1999-08-09 18:06:01 +00:00
.SH FILES
.TP
1999-08-09 18:05:55 +00:00
.I @CONFIGDIR@/microtek2.conf
The backend configuration file.
.TP
1999-08-09 18:05:55 +00:00
.I @LIBDIR@/libsane-microtek2.a
The static library implementing this backend.
.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).
1999-08-09 18:06:01 +00:00
.SH ENVIRONMENT
.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.,
1999-08-09 18:06:01 +00:00
a value of 128 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).
.br
1999-08-09 18:05:55 +00:00
E.g. just say:
.br
1999-08-09 18:05:55 +00:00
export SANE_DEBUG_MICROTEK2=128
.SH "SEE ALSO"
1999-08-09 18:06:01 +00:00
sane-scsi(5)
.SH AUTHOR
Bernd Schroeder