--source s
Selects the source for the scan. Options may include "Flatbed", "ADF Front", "ADF Back", "ADF Duplex".
--mode m
Selects the mode for the scan. Options may include "Lineart", "Halftone", "Gray", and "Color".
--resolution
Controls scan resolution. Available choices may be limited by mode.
--tl-x ", " --tl-y ", " --br-x ", " --br-y
Sets scan area upper left and lower right coordinates. These are renamed -t ", " -l ", " -x ", " -y by some frontends.
--page-width ", " --page-height
Sets paper size. Used by scanner to determine centering of scan coordinates when using the ADF (Automatic Document Feeder) and to detect double feed errors.
Other options will be available based on the capabilities of the scanner. Use scanimage --help to get a list, but be aware that some options may be settable only when another option has been set, and that advanced options may be hidden by some frontend programs.
Scanners can be specified in the configuration file in 2 ways:
"scsi KODAK"
Requests backend to search all scsi buses in the system for a device which reports itself to be a scanner made by 'KODAK'.
"scsi /dev/sg0" (or other scsi device file)
Requests backend to open the named scsi device. Only useful if you have multiple compatible scanners connected to your system, and need to specify one. Probably should not be used with the other "scsi" line above.
The only configuration option supported is "buffer-size=xxx", allowing you to set the number of bytes in the data buffer to something other than the compiled-in default, 32768 (32K). Some users report that their scanner will "hang" mid-page, or fail to transmit the image if the buffer is not large enough.
Note: This option may appear multiple times in the configuration file. It only applies to scanners discovered by 'scsi/usb' lines that follow this option.
Note: The backend does not place an upper bound on this value, as some users required it to be quite large. Values above the default are not recommended, and may crash your OS or lockup your scsi card driver. You have been warned.
5 Errors
10 Function trace
15 Function detail
20 Option commands
25 SCSI trace
30 SCSI detail
35 Useless noise
Kodak provided access to hardware, documentation and personnel.