| 4 |
- |
1 |
# test backend configuration file
|
|
|
2 |
########################################
|
|
|
3 |
|
|
|
4 |
# number of test devices
|
|
|
5 |
number_of_devices 2
|
|
|
6 |
|
|
|
7 |
# Initial option values and ranges
|
|
|
8 |
########################################
|
|
|
9 |
|
|
|
10 |
# Scan mode (Color, Gray)
|
|
|
11 |
mode Gray
|
|
|
12 |
|
|
|
13 |
# Bit depth (1, 8, 16)
|
|
|
14 |
depth 8
|
|
|
15 |
|
|
|
16 |
# Hand-scanner mode (true, false)
|
|
|
17 |
hand-scanner false
|
|
|
18 |
|
|
|
19 |
# Three-pass mode (true, false)
|
|
|
20 |
three-pass false
|
|
|
21 |
|
|
|
22 |
# Three-pass order (RGB, RBG, GBR, GRB, BGR, BRG)
|
|
|
23 |
three-pass-order RGB
|
|
|
24 |
|
|
|
25 |
# Resolution (dpi)
|
|
|
26 |
resolution_min 1.0
|
|
|
27 |
resolution_max 1200.0
|
|
|
28 |
resolution_quant 1.0
|
|
|
29 |
resolution 50.0
|
|
|
30 |
|
|
|
31 |
# Draw test picture ("Solid black", "Solid white", "Color pattern", "Grid")
|
|
|
32 |
test-picture "Solid black"
|
|
|
33 |
|
|
|
34 |
# Invert upper and lower byte in 16 bit modes
|
|
|
35 |
invert-endianess false
|
|
|
36 |
|
|
|
37 |
# Read-limit (true, false)
|
|
|
38 |
read-limit false
|
|
|
39 |
|
|
|
40 |
# Read-limit size (1 - 65536 bytes)
|
|
|
41 |
read-limit-size 1
|
|
|
42 |
|
|
|
43 |
# Read-delay (true, false)
|
|
|
44 |
read-delay false
|
|
|
45 |
|
|
|
46 |
# Read-delay duration (1000 - 200,000 microseconds)
|
|
|
47 |
read-delay-duration 1000
|
|
|
48 |
|
|
|
49 |
# Status code (return-value) of sane_read() ("Default",
|
|
|
50 |
# "SANE_STATUS_UNSUPPORTED",
|
|
|
51 |
# "SANE_STATUS_CANCELLED", "SANE_STATUS_DEVICE_BUSY", "SANE_STATUS_INVAL",
|
|
|
52 |
# "SANE_STATUS_EOF", "SANE_STATUS_JAMMED", "SANE_STATUS_NO_DOCS",
|
|
|
53 |
# "SANE_STATUS_COVER_OPEN", "SANE_STATUS_IO_ERROR", "SANE_STATUS_NO_MEM",
|
|
|
54 |
# "SANE_STATUS_ACCESS_DENIED"
|
|
|
55 |
read-status-code "Default"
|
|
|
56 |
|
|
|
57 |
# Fuzzy parameters (true, false)
|
|
|
58 |
fuzzy-parameters false
|
|
|
59 |
|
|
|
60 |
# Loss of pixels per line (pixels)
|
|
|
61 |
ppl-loss 0
|
|
|
62 |
|
|
|
63 |
# Non-blocking io (true, false)
|
|
|
64 |
non-blocking false
|
|
|
65 |
|
|
|
66 |
# Support select fd (true, false)
|
|
|
67 |
select-fd false
|
|
|
68 |
|
|
|
69 |
# Enable test options (true, false)
|
|
|
70 |
enable-test-options false
|
|
|
71 |
|
|
|
72 |
# Geometry (mm)
|
|
|
73 |
geometry_min 0.0
|
|
|
74 |
geometry_max 200.0
|
|
|
75 |
geometry_quant 1.0
|
|
|
76 |
|
|
|
77 |
# Top-left x position (mm)
|
|
|
78 |
tl_x 0.0
|
|
|
79 |
|
|
|
80 |
# Top-left y position (mm)
|
|
|
81 |
tl_y 0.0
|
|
|
82 |
|
|
|
83 |
# Bottom-right x position (mm)
|
|
|
84 |
br_x 80.0
|
|
|
85 |
|
|
|
86 |
# Bottom-right y position (mm)
|
|
|
87 |
br_y 100.0
|