mustek_pp.conf 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # For documentation see sane-mustek_pp(5)
  2. # Global options:
  3. # ===============
  4. #
  5. # option no_epp
  6. #
  7. # Disable parallel port mode EPP: works around a known bug in
  8. # the Linux parport code. Enable this option, if the backend
  9. # hangs when trying to access the parallel port in EPP mode:
  10. #
  11. # # SANE_DEBUG_SANEI_PA4S2=128 scanimage -L
  12. # ...
  13. # hangs here -> [sanei_pa4s2] sanei_pa4s2_readbyte: read in EPP mode
  14. #
  15. # Scanner definition template:
  16. # ============================
  17. #
  18. # scanner <name> <port> <type>
  19. # option <optname> <optval>?
  20. # option <optname> <optval>?
  21. # ...
  22. #
  23. # where:
  24. #
  25. # <name> is an arbitrary name for the scanner (eg. Mustek-1200CP)
  26. #
  27. # <port> is the parallel port to which the scanner is connected
  28. # Possible values are 0x378, 0x278, and 0x3bc. For Linux, the
  29. # mapping between ports an numbers is different for kernel
  30. # version 2.2 and 2.4. Port 0x378 corresponds to lp0 on 2.4 kernel.
  31. # If you are using libieee1284, you can as well use parport0, etc..
  32. # If you use the magic value * the port is probed.
  33. #
  34. # <type> is an identification of the scanner type.
  35. # Possible values are:
  36. # - cis600 (for Mustek 600CP & OEM versions),
  37. # - cis1200 (for Mustek 1200CP & OEM versions),
  38. # - cis1200+ (for Mustek 1200CP+ & OEM versions),
  39. # - ccd300 (for Mustek 600 III EPP & OEM versions)
  40. # - ... more types will be added in the future
  41. #
  42. # <optname> is a name of an option, and <optval> an optional value
  43. # for the option.
  44. # Currently available options for *CIS* type scanners are:
  45. # - top_adjust <value>:
  46. # Vertical adjustment of origin, in millimeter.
  47. # Values between -5.0 and +5.0 mm are possible
  48. # (floating point).
  49. # Default: 0.0
  50. # - slow_skip:
  51. # Boolean option. Disables fast skipping to the start
  52. # of the scan region. May be necessary in case fast
  53. # skipping results in inaccuracies.
  54. # Default: fast skipping enabled
  55. # - bw <value>:
  56. # Black/white discrimination value for lineart scans.
  57. # Pixel values below that value are considered black,
  58. # others are considered white. Range: 0-255.
  59. # Default: 127
  60. #
  61. # Currently available options for *CCD* type scanners are:
  62. # - wait_bank <value>
  63. # usecs to wait for a bank change. Positive integer
  64. # values are possible. You shouldn't mess with this
  65. # parameter.
  66. # Default: 700
  67. # - bw <value>
  68. # Black/white discrimination value for lineart scans.
  69. # Pixel values below that value are considered black,
  70. # others are considered white. Range: 0-255.
  71. # Default: 127
  72. # - top <value>
  73. # Scanlines to skip to the top area. Positive integer
  74. # values are possible. 47 and 56 are values I know of.
  75. # Default: 47
  76. #
  77. #
  78. # Example for a LifeTec LT9350 (Mustek 1200CP clone):
  79. #
  80. # scanner LT9350 0x378 cis1200
  81. # option top_adjust 0
  82. # option bw 127
  83. #
  84. # Example for Mustek 6000P
  85. #
  86. # scanner 6000P 0x378 ccd300
  87. # option top 56
  88. #
  89. #
  90. # Uncomment/customize to your needs
  91. #
  92. # scanner Mustek-600CP 0x378 cis600
  93. # scanner Mustek-1200CP 0x378 cis1200
  94. # scanner Mustek-1200CP+ 0x378 cis1200+
  95. # scanner Mustek-600-IIIEP 0x378 ccd300
  96. #
  97. # auto probing:
  98. #
  99. # scanner mustek-cis600 * cis600
  100. # scanner mustek-cis1200 * cis1200
  101. # scanner mustek-cis1200+ * cis1200+
  102. # scanner mustek-ccd300 * ccd300