| You are here: | About>Computing & Technology>Focus on Linux |
![]() | Focus on Linux |
NAMEsane-mustek_pp - SANE backend for Mustek parallel port flatbed scannersDESCRIPTIONThe sane-mustek_pp library implements a SANE (Scanner Access Now Easy) backend that provides access to Mustek parallel port flatbed scanners. The following scanners might work with this backend:
(*) These scanners are currently not supported by the default driver, but patches are available; see CIS Scanners. Please note that this backend is still under construction. I don't know which scanners work or which will work in future releases. There are two possible reasons a Mustek scanner doesn't work... a) the protcol is still unknown (SE 12000 P) or b) it's a CIS scanner (all the others). See CIS Scanners for an explaination why. Some scanners work faster when EPP/ECP is enabled in the BIOS. Note that the backend needs to run as root. To allow user access to the scanner run the backend through the network interface (See saned(1) and sane-net(5)). Note also that the backend does not support parport sharing , i.e. if you try printing while scanning, your computer may crash. This backend also conflicts with the sane-musteka4s2 backend. You can only enable one of them in your dll.conf. However, you have to enable the backend explicitly in your dll.conf, just remove the hash mark in the line "mustek_pp". DEVICE NAMESThis backend expects device names of the form:
Where addr is the base address of the port your scanner is attached to. Known ports are 0x378 (lp1) 0x278 (lp2) and 0x3BC (lp0). Note that if you are using a Kernel 2.2.x or better and you have only one parallel port this port is named lp0 regardless of the base address. However, this backend requires the base address of your port. If you are not sure which port your scanner is connected to, have a look at your /etc/conf.modules. You can rename any device using the
options. These options aply to the last port option. CONFIGURATIONPlease make sure to edit mustek_pp.conf before you use the backend.The contents of the mustek_pp.conf file is a list of options and device names that correspond to Mustek scanners. Empty lines and lines starting with a hash mark (#) are ignored. The nine options supported are io-mode, wait-bank, strip-height, niceload, auth, wait-lamp, bw, use600, and buffer. Option io-mode defines the mode of the sanei_pa4s2 interface. Possible values are try_mode_uni and alt_lock. This option may appear for each possible value. try_mode_uni allows the UNI port mode, however this may disable the (better) EPP mode. alt_lock toggles between two different ways to lock the port for scanner access. This option must come before any port definition or it won't have the effect you'd expect. Option wait-bank defines the maximal time in msecs the backend waits for the bank to change. The default value is 700. If this option is given after the port option, only this device is affected. If this value is to low, you will get wrong colors and stripes in the scanned image. Option strip-height is a option that limits the maximum height of the strip scanned with a single read command. The height is specified in lines. If this option is given after the port option, only this device is affected. A strip-height of zero allows to scan as much as fits into the scan buffer. Option niceload tries to avoid to heavy load. Note that this reduces scan speed. This is a global option. Option auth turns on user authentification for this scanner. Use this if you want access control and if you have enabled this at compile time. This option must come after a port option. At the moment, this option isn't really supported. Option wait-lamp allows you to control the time the backend waits for the lamp to warm up. The time is specified in secs. The default value is 5 secs. Some scanners need longer to warm up. A value of 0 makes the backend start without waiting. However the backend will wait at least 2 secs before turning the lamp off again. If this option is given after a port option it affects only this device. Option bw defines the maximal color value that is considered black in lineart scans. The default value is 127. Possible values are between 0 and 255. If this option is given after a port option it affects only this device. Option use600 enables the 600 dpi handling code. It's not possible to detect wether a scanner has an optical resolution of 300x600 dpi or 600x1200 dpi. The default is to use the 300x600 dpi code. Use this option only if your scanner has an optical resolution of 600x1200 dpi. This is a local only option. Option buffer allows you to change the size of the scan buffer. The size must be specified in bytes. The default value is 1 megabyte. If this opttion is given after the port option, only this device is affected. If you have limited the strip-height, you only need a scan buffer of
A sample configuration file is shown below:
CIS ScannersSome Mustek Scanners use so called contact image sensors (CIS) instead of cold cathode devices (CCD). These scanners have a totally different protocol; they are currently not supported by the default driver. However, patches are available that support most of the CIS type scanners. Check out the homepage of Eddy De Greef for these patches (see the SEE ALSO section). These patches have been reported to work on the Mustek 600CP, 1200CP, and 1200CP+ models, and various OEM versions (LifeTec/Medion 9350, 9351, 9850, 9851, 9858, 9890, and 9891; Trust Easy Connect 9600 plus; Targa Funline TS12EP). When installing these patches, 3 additional options are available in the mustek_pp.conf configuration file (see CONFIGURATION): cis600, cis1200, cis1200+. These options select the 600CP, 1200CP, or 1200CP+ version of the driver. One of them must be set.
The 600CP has a maximum resolution of 300x600 DPI, whereas the 1200CP
and 1200CP+ have a maximum resolution of 600x1200 DPI. The option must
match your scanner. If unsure, check the manual or the box.
The cis... options cannot be combined with the use600 option. Currently, when installing the CIS patches, support for CCD type scanners is disabled. In future versions of the sane-mustek_pp backend, the CIS patches will be integrated and support for both types of scanners will co-exist. SEE ALSOsane(7), sane-mustek(5), sane-net(5), saned(1)
Important: Use the man command (% man) to see how a command is used on your particular computer. |
|
All Topics | Email Article | | | ![]() |
| Advertising Info | News & Events | Work at About | SiteMap | Reprints | Help | Our Story | Be a Guide |
| User Agreement | Ethics Policy | Patent Info. | Privacy Policy | ©2008 About, Inc., A part of The New York Times Company. All rights reserved. |


