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