summaryrefslogtreecommitdiff
path: root/backend/test.conf.in
blob: 458342e0617b35b63eca34216df8486956a90b86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# test backend configuration file
########################################

# number of test devices
number_of_devices 2

# Initial option values and ranges
########################################

# Scan mode (Color, Gray)
mode Gray

# Bit depth (1, 8, 16)
depth 8

# Hand-scanner mode (true, false)
hand-scanner false

# Three-pass mode (true, false)
three-pass false

# Three-pass order (RGB, RBG, GBR, GRB, BGR, BRG)
three-pass-order RGB

# Resolution (dpi)
resolution_min 1.0
resolution_max 1200.0
resolution_quant 1.0
resolution 50.0

# Draw test picture ("Solid black", "Solid white", "Color pattern", "Grid")
test-picture "Solid black"

# Invert upper and lower byte in 16 bit modes
invert-endianess false

# Read-limit (true, false)
read-limit false

# Read-limit size (1 - 65536 bytes)
read-limit-size 1

# Read-delay (true, false)
read-delay false

# Read-delay duration (1000 - 200,000 microseconds)
read-delay-duration 1000

# Status code (return-value) of sane_read() ("Default",
#   "SANE_STATUS_UNSUPPORTED",
#   "SANE_STATUS_CANCELLED", "SANE_STATUS_DEVICE_BUSY", "SANE_STATUS_INVAL",
#   "SANE_STATUS_EOF", "SANE_STATUS_JAMMED", "SANE_STATUS_NO_DOCS",
#   "SANE_STATUS_COVER_OPEN", "SANE_STATUS_IO_ERROR", "SANE_STATUS_NO_MEM",
#   "SANE_STATUS_ACCESS_DENIED"
read-status-code "Default"

# Fuzzy parameters (true, false)
fuzzy-parameters false

# Loss of pixels per line (pixels)
ppl-loss 0

# Non-blocking io (true, false)
non-blocking false

# Support select fd (true, false)
select-fd false

# Enable test options (true, false)
enable-test-options false

# Geometry (mm)
geometry_min 0.0
geometry_max 200.0
geometry_quant 1.0

# Top-left x position (mm)
tl_x 0.0

# Top-left y position (mm)
tl_y 0.0

# Bottom-right x position (mm)
br_x 80.0

# Bottom-right y position (mm)
br_y 100.0