1sane-cardscan(5)         SANE Scanner Access Now Easy         sane-cardscan(5)
2
3
4

NAME

6       sane-cardscan - SANE backend for Corex CardScan usb scanners
7
8

DESCRIPTION

10       The  sane-cardscan  library implements a SANE (Scanner Access Now Easy)
11       backend which provides access to the Corex CardScan 800c & 600c  small-
12       format scanners.
13
14       The backend supports only grayscale and color modes and media of (theo‐
15       retically) infinite length.
16
17       This backend may support other scanners.  The  best  way  to  determine
18       level of support is to get a trace of the windows driver in action, and
19       send it to the author.
20
21

OPTIONS

23       The cardscan backend supports the following options:
24
25
26       --mode Gray|Color
27              Selects the mode for the scan.
28
29

CONFIGURATION FILE

31       The configuration file cardscan.conf is used to tell the backend how to
32       look for scanners, and provide options controlling the operation of the
33       backend.  This file is read each time the frontend asks the backend for
34       a  list  of  scanners,  generally only when the frontend starts. If the
35       configuration file is missing, the backend will use a set  of  compiled
36       defaults, which are identical to the default configuration file shipped
37       with SANE.
38
39       Scanners can be specified in the configuration file in 2 ways:
40
41       "usb 0x04c5 0x1042" (or other vendor/product ids)
42              Requests backend to search all usb buses in  the  system  for  a
43              device  which  uses  that vendor and product id. The device will
44              then be queried to determine if it is a cardscan scanner.
45
46       "usb /dev/usb/scanner0" (or other device file)
47              Some systems use a kernel driver to access  usb  scanners.  This
48              method is untested.
49
50       Additionally, there are two configuration options that control the pro‐
51       tocol used by the backend:
52
53
54       "lines_per_block 16" (or other number from 1 to 32)
55              Controls the number  of  lines  of  image  data  which  will  be
56              acquired  in each pass.  Older scanners will require this number
57              set lower, often 1.
58
59       "has_cal_buffer 1" (1 or 0)
60              Causes the backend to get calibration data from  scanner  during
61              initialization.  Older scanners do not support this request, and
62              must be set to 0.
63
64

ENVIRONMENT

66       The backend uses a single  environment  variable,  SANE_DEBUG_CARDSCAN,
67       which enables debugging output to stderr. Valid values are:
68
69              5  Errors
70              10 Function trace
71              15 Function detail
72              20 Option commands
73              25 SCSI/USB trace
74              30 SCSI/USB detail
75              35 Useless noise
76
77

KNOWN ISSUES

79              The  scanner does not seem to have much control possible, so the
80              backend cannot set  x/y  coordinate  values,  resolutions,  etc.
81              These  things  could  be simulated in the backend, but there are
82              plenty of command line tools.
83              The backend also does not send all the commands that the windows
84              driver does, so it may not function the same.
85              The backend does not have the calibration or ejection options of
86              the windows driver.
87
88

CREDITS

90       The hardware to build this driver was provided to the author  by:  Jeff
91       Kowalczyk <jtk a t yahoo d o t com>.
92
93

SEE ALSO

95       sane(7), sane-usb(5)
96
97

AUTHOR

99       m. allan noah: <kitno455 a t gmail d o t com> .
100
101
102
103                                  10 Feb 2010                 sane-cardscan(5)
Impressum