test.conf 1.8 KB

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