192 |
- |
1 |
# For documentation see sane-mustek_pp(5)
|
|
|
2 |
|
|
|
3 |
# Global options:
|
|
|
4 |
# ===============
|
|
|
5 |
#
|
|
|
6 |
# option no_epp
|
|
|
7 |
#
|
|
|
8 |
# Disable parallel port mode EPP: works around a known bug in
|
|
|
9 |
# the Linux parport code. Enable this option, if the backend
|
|
|
10 |
# hangs when trying to access the parallel port in EPP mode:
|
|
|
11 |
#
|
|
|
12 |
# # SANE_DEBUG_SANEI_PA4S2=128 scanimage -L
|
|
|
13 |
# ...
|
|
|
14 |
# hangs here -> [sanei_pa4s2] sanei_pa4s2_readbyte: read in EPP mode
|
|
|
15 |
#
|
|
|
16 |
# Scanner definition template:
|
|
|
17 |
# ============================
|
|
|
18 |
#
|
|
|
19 |
# scanner <name> <port> <type>
|
|
|
20 |
# option <optname> <optval>?
|
|
|
21 |
# option <optname> <optval>?
|
|
|
22 |
# ...
|
|
|
23 |
#
|
|
|
24 |
# where:
|
|
|
25 |
#
|
|
|
26 |
# <name> is an arbitrary name for the scanner (eg. Mustek-1200CP)
|
|
|
27 |
#
|
|
|
28 |
# <port> is the parallel port to which the scanner is connected
|
|
|
29 |
# Possible values are 0x378, 0x278, and 0x3bc. For Linux, the
|
|
|
30 |
# mapping between ports an numbers is different for kernel
|
|
|
31 |
# version 2.2 and 2.4. Port 0x378 corresponds to lp0 on 2.4 kernel.
|
|
|
32 |
# If you are using libieee1284, you can as well use parport0, etc..
|
|
|
33 |
# If you use the magic value * the port is probed.
|
|
|
34 |
#
|
|
|
35 |
# <type> is an identification of the scanner type.
|
|
|
36 |
# Possible values are:
|
|
|
37 |
# - cis600 (for Mustek 600CP & OEM versions),
|
|
|
38 |
# - cis1200 (for Mustek 1200CP & OEM versions),
|
|
|
39 |
# - cis1200+ (for Mustek 1200CP+ & OEM versions),
|
|
|
40 |
# - ccd300 (for Mustek 600 III EPP & OEM versions)
|
|
|
41 |
# - ... more types will be added in the future
|
|
|
42 |
#
|
|
|
43 |
# <optname> is a name of an option, and <optval> an optional value
|
|
|
44 |
# for the option.
|
|
|
45 |
# Currently available options for *CIS* type scanners are:
|
|
|
46 |
# - top_adjust <value>:
|
|
|
47 |
# Vertical adjustment of origin, in millimeter.
|
|
|
48 |
# Values between -5.0 and +5.0 mm are possible
|
|
|
49 |
# (floating point).
|
|
|
50 |
# Default: 0.0
|
|
|
51 |
# - slow_skip:
|
|
|
52 |
# Boolean option. Disables fast skipping to the start
|
|
|
53 |
# of the scan region. May be necessary in case fast
|
|
|
54 |
# skipping results in inaccuracies.
|
|
|
55 |
# Default: fast skipping enabled
|
|
|
56 |
# - bw <value>:
|
|
|
57 |
# Black/white discrimination value for lineart scans.
|
|
|
58 |
# Pixel values below that value are considered black,
|
|
|
59 |
# others are considered white. Range: 0-255.
|
|
|
60 |
# Default: 127
|
|
|
61 |
#
|
|
|
62 |
# Currently available options for *CCD* type scanners are:
|
|
|
63 |
# - wait_bank <value>
|
|
|
64 |
# usecs to wait for a bank change. Positive integer
|
|
|
65 |
# values are possible. You shouldn't mess with this
|
|
|
66 |
# parameter.
|
|
|
67 |
# Default: 700
|
|
|
68 |
# - bw <value>
|
|
|
69 |
# Black/white discrimination value for lineart scans.
|
|
|
70 |
# Pixel values below that value are considered black,
|
|
|
71 |
# others are considered white. Range: 0-255.
|
|
|
72 |
# Default: 127
|
|
|
73 |
# - top <value>
|
|
|
74 |
# Scanlines to skip to the top area. Positive integer
|
|
|
75 |
# values are possible. 47 and 56 are values I know of.
|
|
|
76 |
# Default: 47
|
|
|
77 |
#
|
|
|
78 |
#
|
|
|
79 |
# Example for a LifeTec LT9350 (Mustek 1200CP clone):
|
|
|
80 |
#
|
|
|
81 |
# scanner LT9350 0x378 cis1200
|
|
|
82 |
# option top_adjust 0
|
|
|
83 |
# option bw 127
|
|
|
84 |
#
|
|
|
85 |
# Example for Mustek 6000P
|
|
|
86 |
#
|
|
|
87 |
# scanner 6000P 0x378 ccd300
|
|
|
88 |
# option top 56
|
|
|
89 |
#
|
|
|
90 |
#
|
|
|
91 |
# Uncomment/customize to your needs
|
|
|
92 |
#
|
|
|
93 |
# scanner Mustek-600CP 0x378 cis600
|
|
|
94 |
# scanner Mustek-1200CP 0x378 cis1200
|
|
|
95 |
# scanner Mustek-1200CP+ 0x378 cis1200+
|
|
|
96 |
# scanner Mustek-600-IIIEP 0x378 ccd300
|
|
|
97 |
#
|
|
|
98 |
# auto probing:
|
|
|
99 |
#
|
|
|
100 |
# scanner mustek-cis600 * cis600
|
|
|
101 |
# scanner mustek-cis1200 * cis1200
|
|
|
102 |
# scanner mustek-cis1200+ * cis1200+
|
|
|
103 |
# scanner mustek-ccd300 * ccd300
|