| Linux / Unix Command: sane-canon_pp |
NAME
sane-canon_pp - SANE backend for Canon CanoScan Parallel Port flatbed scannersDESCRIPTION
The sane-canon_pp library implements a SANE (Scanner Access Now Easy) backend that provides access to the following Canon flatbed scanners:
-
CanoScan FB320P
CanoScan FB620P
CanoScan FB330P
CanoScan FB630P
CanoScan N340P
CanoScan N640P
CanoScan N640P ex
No USB scanners are supported and there are no plans to support them in the future. Other projects are working on support for USB scanners. See the PROJECTS file for more detail. The FB310P and FB610P are re-badged Avision scanners which use a different command set, so are unlikely to be supported by this backend in the future.
IMPORTANT: this is alpha code. While we have made every effort to make it as reliable as possible, it will not always work as expected. Feedback is still appreciated. Please send any bug reports to the maintainers as listed on the web page (listed in SEE ALSO below).
DEVICE NAMES
This backend expects device names of the form presented by libieee1284. These names are highly dependent on operating system and version.On Linux 2.4 kernels this will be of the form parport0 or older (2.2 and before) kernels may produce names like 0x378 (the base address of your port) or simply 0 depending on your module configuration. Check the contents of /proc/parport if it exists. If you don't want to specify a default port (or don't know its name), the backend should be able to detect which port your scanner is on.
CONFIGURATION
The contents of the canon_pp.conf file is a list of options for the driver to use. Empty lines and lines starting with a hash mark (#) are ignored.The supported options are currently ieee1284, calibrate, init_mode, and force_nibble
Option ieee1284 port-name defines which port to use. The format of port-name is OS dependent, based on the names presented by libieee1284. Please only have one of these lines, or all but one will be ignored.
Option calibrate cal-file [port-name] defines which calibration file to use on a per-port basis. If you only have one parport, the port-name argument may be omitted - but be careful as this will cause problems on multi-scanner systems. You may have as many of these lines as you like, as long as each has a unique port name. The tilde (`~') character is acceptable and will be expanded to the value of the HOME environment.
Option init_mode <AUTO|FB620P|FB630P> [portname] defines which initialisation (wake-up) mode to use on a per-port basis. If you only have one parport, the portname argument may be omitted - but be careful as this may cause problems on multi-scanner systems. You may have as many of these lines as you like, as long as each has a unique port name. The valid initialisation modes are FB620P (which strobes 10101010 and 01010101 on the data pins), FB630P (which strobes 11001100 and 00110011 on the data pins) and AUTO, which will try FB630P mode first then FB620P mode second. The FB620P mode is also used by the FB320P. The FB630P mode is used by the FB330P, N340P, and N640P.
Option force_nibble forces the driver to use nibble mode even if ECP mode is reported to work by libieee1284. This works-around the rare issue of ECP mode being reported to work by the library, then not working.
TIPS
Hit the "Calibrate" button before scanning. It vastly improves the quality of scans.
To enable automatic detection of your scanner, uncomment the "canon_pp" line from /etc/sane.d/dll.conf
SEE ALSO
sane(7), sane-dll(5) http://canon-fb330p.sourceforge.net/Important: Use the man command (% man) to see how a command is used on your particular computer.

