summaryrefslogtreecommitdiff
path: root/backend/test.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'backend/test.conf.in')
-rw-r--r--backend/test.conf.in87
1 files changed, 87 insertions, 0 deletions
diff --git a/backend/test.conf.in b/backend/test.conf.in
new file mode 100644
index 0000000..458342e
--- /dev/null
+++ b/backend/test.conf.in
@@ -0,0 +1,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