1sane-cardscan(5) SANE Scanner Access Now Easy sane-cardscan(5)
2
3
4
6 sane-cardscan - SANE backend for Corex CardScan usb scanners
7
8
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
23 The cardscan backend supports the following options:
24
25 mode m
26 Selects the mode for the scan. Options are "Gray" and "Color".
27
29 The configuration file "cardscan.conf" is used to tell the backend how
30 to look for scanners, and provide options controlling the operation of
31 the backend. This file is read each time the frontend asks the backend
32 for a list of scanners, generally only when the frontend starts. If the
33 configuration file is missing, the backend will use a set of compiled
34 defaults, which are identical to the default configuration file shipped
35 with SANE.
36
37 Scanners can be specified in the configuration file in 2 ways:
38
39 "usb 0x04c5 0x1042" (or other vendor/product ids)
40 Requests backend to search all usb busses in the system for a
41 device which uses that vendor and product id. The device will
42 then be queried to determine if it is a cardscan scanner.
43
44 "usb /dev/usb/scanner0" (or other device file)
45 Some systems use a kernel driver to access usb scanners. This
46 method is untested.
47
48 Additionally, there are two configuration options that control the pro‐
49 tocol used by the backend:
50
51
52 "lines_per_block 16" (or other number from 1 to 32)
53 Controls the number of lines of image data which will be
54 acquired in each pass. Older scanners will require this number
55 set lower, often 1.
56
57 "has_cal_buffer 1" (1 or 0)
58 Causes the backend to get calibration data from scanner during
59 initialization. Older scanners do not support this request, and
60 must be set to 0.
61
62
64 The backend uses a single environment variable, SANE_DEBUG_CARDSCAN,
65 which enables debugging output to stderr. Valid values are:
66
67 5 Errors
68 10 Function trace
69 15 Function detail
70 20 Option commands
71 25 SCSI/USB trace
72 30 SCSI/USB detail
73 35 Useless noise
74
75
77 The scanner does not seem to have much control possible, so the
78 backend cannot set x/y coordinate values, resolutions, etc.
79 These things could be simulated in the backend, but there are
80 plenty of command line tools.
81 The backend also does not send all the commands that the windows
82 driver does, so it may not function the same.
83 The backend does not have the calibration or ejection options of
84 the windows driver.
85
86
88 The hardware to build this driver was provided to the author by:
89 Jeff Kowalczyk <jtk a t yahoo d o t com>
90
91
93 sane(7), sane-usb(5)
94
95
97 m. allan noah: <kitno455 a t gmail d o t com>
98
99
100
101
102 10 Feb 2010 sane-cardscan(5)