


sane-microtek2(5)                               sane-microtek2(5)


NNAAMMEE
       sane-microtek2  -  SANE backend for Microtek scanners with
       SCSI-II interface

DDEESSCCRRIIPPTTIIOONN
       The ssaannee--mmiiccrrootteekk22  library  implements  a  SANE  (Scanner
       Access  Now  Easy)  backend  that  provides access to some
       Microtek scanners with a SCSI-II interface.  This  backend
       should be considered alpha.
       There  exists  a  different  backend for Microtek scanners
       with a SCSI-I interface.  Refer  to  sane-microtek(5)  for
       details. At present, the following scanners are known pos-
       itively to work with this backend:

              Vendor     Product id:     Remark:
              --------   --------------  -----------
              Microtek   ScanMaker 630   all modes ok
              Vobis      HighScan        all modes ok

       If you own a Microtek scanner with SCSI-II interface other
       than  the  ones  listed above, it may or may not work with
       SANE!  If the scanner  gives  enough  information  to  the
       driver,  there  is only a warning printed and you may con-
       tinue, BUT AT YOUR OWN RISK! If the scanner does not  give
       enough  information  then  it  will not work and an error-
       message is printed!


FFRROONNTTEENNDD OOPPTTIIOONNSS
       This backend dynamically enables the options for the fron-
       tend,  that  are supported by the scanner in dependence of
       the scanning-mode and other options. Not supported options
       are disabled.

       The    following    otions    are    supported    by   the
       Microtek2-driver:

       Color, grayscale, halftone and lineart scans.

       Highlight, midtone, shadow, contrast,  brightness,  scalar
       gamma correction, threshold (dependent of the scan mode)


DDEEVVIICCEE NNAAMMEESS
       This backend expects device names of the form:

              _s_p_e_c_i_a_l

       Where _s_p_e_c_i_a_l 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 _/_d_e_v_/_s_g_a
       or _/_d_e_v_/_s_g_e, for example.




                           30 May 1998                          1





sane-microtek2(5)                               sane-microtek2(5)


CCOONNFFIIGGUURRAATTIIOONN
       The  configuration  file for this backend resides in _@_C_O_N_-
       _F_I_G_D_I_R_@_/_m_i_c_r_o_t_e_k_2_._c_o_n_f.  Its contents is a list of  device
       names  that  correspond  to Microtek scanners with SCSI-II
       interface. Empty lines and lines starting with a hash mark
       (#) are ignored.

       The configuration file may contain a line "option dump n".

       If n=1 the contents of the command blocks and the  results
       for  the  INQUIRY  and READ SCANNER ATTRIBUTES command are
       printed to stderr.

       If n=2 the contents of the command blocks  for  all  other
       SCSI  commands are printed to stderr, too. If n=3 the con-
       tents of the gamma table is printed, too. If n=4 all  scan
       data are additionally printed to stderr.

       A sample configuration file is shown below:

              option dump 1
              /dev/scanner
              # this is a comment
              /dev/sge

       This backend also supports the new configuration file for-
       mat which makes 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  is  distributed
       with SANE. This file is shown below:

              option dump 1
              scsi * * Scanner

       In this case all SCSI-Scanners should be detected automat-
       ically.


FFIILLEESS
       _@_C_O_N_F_I_G_D_I_R_@_/_m_i_c_r_o_t_e_k_2_._c_o_n_f
              The backend configuration file.

       _@_L_I_B_D_I_R_@_/_l_i_b_s_a_n_e_-_m_i_c_r_o_t_e_k_2_._a
              The static library implementing this backend.

       _@_L_I_B_D_I_R_@_/_l_i_b_s_a_n_e_-_m_i_c_r_o_t_e_k_2_._s_o
              The shared library implementing this backend  (pre-
              sent on systems that support dynamic loading).

EENNVVIIRROONNMMEENNTT
       SSAANNEE__DDEEBBUUGG__MMIICCRROOTTEEKK22
              If  the  library  was  compiled  with debug support
              enabled, this  environment  variable  controls  the
              debug level for this backend.  E.g., a value of 128



                           30 May 1998                          2





sane-microtek2(5)                               sane-microtek2(5)


              requests all debug output to be  printed.   Smaller
              levels  reduce  verbosity. To see error messages on
              stderr set SANE_DEBUG_MICROTEK2 to 1  (Remark:  The
              whole debugging levels should be better revised).
              E.g. just say:
              export SANE_DEBUG_MICROTEK2=128

SSEEEE AALLSSOO
       sane-scsi(5)

AAUUTTHHOORR
       Bernd Schroeder













































                           30 May 1998                          3


