#

# sane-plustek.5

    sane-plustek(5)          SANE Scanner Access Now Easy          sane-plustek(5)

## NAME

           sane-plustek  - SANE backend for Plustek parallel port and LM983[1/2/3]
           based USB flatbed scanners

## DESCRIPTION

           The sane-plustek library implements a SANE (Scanner  Access  Now  Easy)
           backend  that provides access to USB flatbed scanners based on National
           Semiconductor Merlin chipsets (LM9831, 9832 and 9833).  If you're look-
           ing  for  parallel-port support for Plustek scanner please refer to the
           sane-plustek_pp backend.

## SUPPORTED DEVICES

           The Backend is able to support USB scanner based on the National  Semi-
           conductor chipsets LM9831, LM9832 and LM9833. The following tables show
           various devices which are currently reported to work. If  your  Plustek
           scanner has another Product ID, then the device is NOT supported, as it
           contains an unsupported ASIC inside.

           Vendor Plustek - ID: 0x07B3
           ----------------------------------------------------------
           USB Model:         ASIC:  Properties:              Prod-ID
           ----------------------------------------------------------
           OpticPro U12       LM9831  600x1200dpi 42bit 512Kb 0x0010
           OpticPro UT12      LM9831  600x1200dpi 42bit 512Kb 0x0013
           OpticPro UT12      LM9832  600x1200dpi 42bit 512Kb 0x0017
           OpticPro UT16      LM9832  600x1200dpi 42bit 512Kb 0x0017
           OpticPro U24       LM9831 1200x2400dpi 42bit   2Mb 0x0011
           OpticPro U24       LM9832 1200x2400dpi 42bit   2Mb 0x0015
           OpticPro UT24      LM9832 1200x2400dpi 42bit   2Mb 0x0017

           Vendor KYE/Genius - ID: 0x0458
           ----------------------------------------------------------
           USB Model:         ASIC:  Properties:              Prod-ID
           ----------------------------------------------------------
           Colorpage HR6 V2   LM9832  600x1200dpi 42bit 512Kb 0x2007
           Colorpage HR6 V2   LM9832  600x1200dpi 42bit 512Kb 0x2008
           Colorpage HR6A     LM9832  600x1200dpi 42bit 512Kb 0x2009
           Colorpage HR7      LM9832  600x1200dpi 42bit 512Kb 0x2013
           Colorpage HR7LE    LM9832  600x1200dpi 42bit 512Kb 0x2015
           Colorpage HR6X     LM9832  600x1200dpi 42bit 512Kb 0x2016

           Vendor Hewlett-Packard - ID: 0x03F0
           ----------------------------------------------------------
           USB Model:         ASIC:  Properties:              Prod-ID
           ----------------------------------------------------------
           ScanJet 2100C      LM9831  600x1200dpi 42bit 512Kb 0x0505
           ScanJet 2200C      LM9832  600x1200dpi 42bit 512Kb 0x0605

           Vendor Mustek - ID: 0x0400
           ----------------------------------------------------------
           USB Model:         ASIC:  Properties:              Prod-ID
           ----------------------------------------------------------
           BearPaw 1200       LM9831  600x1200dpi 42bit 512Kb 0x1000
           BearPaw 2400       LM9832 1200x2400dpi 42bit   2Mb 0x1001

           Vendor UMAX - ID: 0x1606
           ----------------------------------------------------------
           USB Model:         ASIC:  Properties:              Prod-ID
           ----------------------------------------------------------
           UMAX 3400/3450     LM9832  600x1200dpi 42bit 512Kb 0x0060
           UMAX 5400          LM9832 1200x2400dpi 42bit 512Kb 0x0160

           Vendor COMPAQ - ID: 0x049F
           ----------------------------------------------------------
           USB Model:         ASIC:  Properties:              Prod-ID
           ----------------------------------------------------------
           S4-100             LM9832  600x1200dpi 42bit 512Kb 0x001A

           Vendor Epson - ID: 0x04B8
           ----------------------------------------------------------
           USB Model:         ASIC:  Properties:              Prod-ID
           ----------------------------------------------------------
           Perfection 1250    LM9832 1200x2400dpi 42bit 512Kb 0x010F
           Perfection 1260    LM9832 1200x2400dpi 42bit 512Kb 0x011D

           Vendor CANON - ID: 0x04A9
           ----------------------------------------------------------
           USB Model:         ASIC:  Properties:              Prod-ID
           ----------------------------------------------------------
           CanoScan N650/656U LM9832  600x1200dpi 42bit 512Kb 0x2206
           CanoScan N1220U    LM9832 1200x2400dpi 42bit 512Kb 0x2207
           CanoScan N670/676U LM9833  600x1200dpi 48bit 512Kb 0x220D
           CanoScan N1240U    LM9833 1200x2400dpi 48bit 512Kb 0x220E
           CanoScan LIDE20    LM9833  600x1200dpi 48bit 512Kb 0x220D
           CanoScan LIDE30    LM9833 1200x2400dpi 48bit 512Kb 0x220E

## OTHER PLUSTEK SCANNERS

           For parallelport device support see the plustek_pp backend.
           The SCSI scanner OpticPro 19200S is a rebadged Artec AM12S scanner  and
           is supported by the Artec backend.
           Only  the  National  Semiconductor LM983[1/2/] based devices of Plustek
           are supported by this driver. Older versions of the U12, the UT12,  the
           U1212 and U1248 (GrandTech chipset) are not supported.

           Model    Chipset    backend
           ---------------------------
           U1248    GrandTech  gt68xx
           UT16B    GrandTech  gt68xx

## CONFIGURATION

           To use your scanner with this backend, you need at least two entries in
           the configuration file
           /usr/local/etc/sane.d/plustek.conf

           [merlin-device] vendor-id product-id

           device /dev/usbscanner

           merlin-device tells the backend, that the  following  devicename  (here
           /dev/usbscanner  ) has to be interpreted as USB scanner device. If ven-
           dor- and product-id has not been specified, the backend tries to detect
           this by its own. If device ist set to auto
            then the next matching device is used.

           The Options:

           option warmup t
                  t specifies the warmup period in seconds

           option lampOff t
                  t  is the time in seconds for switching off the lamps in standby
                  mode

           option lOffonEnd b
                  b specifies the behaviour when closing the backend, 1 --> switch
                  lamps off, 0 --> do not change lamp status

           option invertNegatives b
                  b  0  -->  do not invert the picture during negativ scans, 1 -->
                  invert picture

           option cacheCalData b
                  b 0 --> do not save  coarse  calibration  results,  1  -->  save
                  results of coarse calibration in ~/.sane/ directory

           option altCalibrate b
                  b  0  --> use standard calibration routines, 1 --> use alternate
                  calibration (only non Plustek
                        devices, standard for CIS devices)

           option skipFine b
                  b 0 --> perform fine calibration, 1 -->  skip  fine  calibration
                  (only non Plustek devices)

           option skipFineWhite b
                  b  0  -->  perform white fine calibration, 1 --> skip white fine
                  calibration (only non Plustek devices)

           option skipCalibration b
                  b 0 --> perform calibration, 1 --> skip  calibration  (only  non
                  Plustek devices)

           option enableTPA b
                  b  0  --> default behaviour, specified by the internal tables, 1
                  --> override internal tables and allow TPA mode (EPSON only)

           option posOffX x
           option posOffY y
           option tpaOffX x
           option tpaOffY y
           option negOffX x
           option negOffY y
                  x y By using this settings, the user can adjust the given  image
                  positions.  Please note, that there's no internal range checking
                  for this feature.

           option posShadingY p
           option tpaShadingY p
           option negShadingY p
                  p overrides the internal shading position.  The  values  are  in
                  steps.  Please note, that there's no internal range checking for
                  this feature.

           option redGamma r
           option greenGamma g
           option blueGamma b
           option grayGamma gr
                  r g b gr
           By using these values, the internal linear gamma table (r,g,b,gr = 1.0)
           can be adjusted.

           option red_gain r
           option green_gain g
           option blue_gain b
                  r g b These values can be used to adjust the internally detected
                  gain values of the AFE for each channel. The range is between  0
                  and 63.

           See the plustek.conf file for examples.

           Note:
           You  have  to make sure, that the USB subsystem is loaded correctly and
           the module scanner has been loaded too. To make this  module  recognize
           your  scanner,  you  might  have  to  add  the  following  line to your
           /etc/modules.conf :
           options scanner vendor=0x7b3 product=0x17

           If you're not sure about the vendor and product id of your device, sim-
           ply  load  the  USB  subsystem  and plug in your scanner. Then do a cat
           /proc/bus/usb/devices and look for the scanner.
           Alternatively, the backend is able to access your scanner  via  libusb.
           You  might  use sane-find-scanner to check that you have access to your
           device.

           Note:
           If there's no configuration file, the backend defaults to device auto

## FILES

           /usr/local/etc/sane.d/plustek.conf
                  The backend configuration file

           /usr/local/lib/sane/libsane-plustek.a
                  The static library implementing this backend.

           /usr/local/lib/sane/libsane-plustek.so
                  The shared library implementing this backend (present on systems
                  that support dynamic loading).

## CONTACT AND BUG-REPORTS

           Please send any information and bug-reports to:
           Plustek Driver Mailing List <plustek@linuxhacker.org>
           or directly to:
           Gerhard Jaeger <gerhard@gjaeger.de>

           Additional info and hints can be obtained from our
           Mailing-List archive at:
           http://www.linuxhacker.org/cgi-bin/ezmlm-cgi/3

           or directly from the projects' homepage at:
           http://www.gjaeger.de/scanner/plustek.html

           To  obtain debug messages from the backend, please set the environment-
           variable SANE_DEBUG_PLUSTEK before calling your favorite  scan-frontend
           (i.e. xscanimage).
           i.e.: export SANE_DEBUG_PLUSTEK=20 ; xscanimage

           The value controls the verbosity of the backend. Please note, that val-
           ues greater than 19 force the backend to output raw data  files,  which
           could  be rather large. The ending of these files is ".raw".  For prob-
           lem reports it should be enough the set the verbosity to 13.

## KNOWN BUGS & RESTRICTIONS

           * The driver does not support these manic scalings up
             to 16 times the physical resolution. The only scaling
             is done on resolutions between the physical resolution
             of the CDD-sensor and the stepper motor i.e. you have a
             600x1200 dpi scanner and you are scanning using 800dpi,
             so scaling is necesary, because the sensor only delivers
             600dpi but the motor is capable to perform 800dpi steps.
           * Plusteks' model policy is somewhat inconsistent. This
             means, they sell technical different devices under the
             same product name. Therefore it is possible that some
             devices like the UT12 or U12 won't work - please check
             the model list above and compare the product-id to
             the one your device has.
           * Negative/Slide scanning quality is poor.

    sane-backends 1.0.12-cvs       24 September 2003               sane-plustek(5)