kopia lustrzana https://gitlab.com/sane-project/backends
82 wiersze
1.7 KiB
Plaintext
82 wiersze
1.7 KiB
Plaintext
![]() |
# 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"
|
||
|
|
||
|
# 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
|
||
|
|
||
|
# 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
|