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