I finally got to the bottom of this! – it appears that the order of options on the command line matter. the –source=”ADF Duplex” option MUST. While many scanners makers don’t supply Linux versions of the software that drives their wares, there are a number of excellent scanner. There are various commands for scanning images under Linux: a] scanimage – It is a command-line interface to control image acquisition.
|Genre:||Health and Food|
|Published (Last):||12 May 2006|
|PDF File Size:||5.93 Mb|
|ePub File Size:||16.46 Mb|
|Price:||Free* [*Free Regsitration Required]|
The device is controlled via command-line options.
After command-line processing, scanimage normally proceeds to acquire an image. The description above shows that option -l expects an option value in the range from 0 to mm.
The value in square brackets indicates that the current option value is 0 mm. Most backends provide similar debiah options for top-left y position -twidth -x and height of scan-area -y. The description above shows that option –brightness expects an option value in the range from to percent.
scanimage(1) — sane-utils — Debian jessie — Debian Manpages
The value in square brackets sebian that the current option value is 0 percent. The description above shows that option –default-enhancements has no option value.
It should be thought of as having an immediate effect at the point of the command-line at which it appears. For example, since this option resets the –brightness option, the option-pair –brightness 50 –default-enhancements would effectively be a no-op. The description above shows that option –mode accepts an argument that must be one of the strings LineartGrayor Color. The value in the square bracket indicates that the option is currently set to Gray.
For convenience, it is legal to abbreviate the debiaj values as long as they remain unique. Also, the case of the spelling doesn’t matter. For example, option setting –mode col is identical to –mode Color.
The description above shows that option –custom-gamma expects either no option value, a “yes” string, or a “no” dwbian. Specifying the option with no value is equivalent to specifying “yes”. The value in square-brackets indicates that the option is not currently active. That is, attempting to set the option would result in an error message.
scanner – ScanImage Legal size settings – Unix & Linux Stack Exchange
The set of available options typically depends on the settings of other options. For example, the –custom-gamma table might be active only when a grayscale or color scan-mode has been requested. The description above shows that option –gamma-table expects zero or more values in the range 0 to For example, a legal value for this option would be “3,4,5,6,7,8,9,10,11,12”.
Since it’s cumbersome to specify long vectors in this form, the same can be expressed by the abbreviated form “3-12”. What this means is that the first vector element is set to 3, the 9-th element is set to 12 and the values in between are interpolated linearly. Of course, it is possible to specify multiple such linear segments. For example, “3-3-7,6” is equivalent to “3,3,3,4,5,6,7,10,8,6”. The program gamma4scanimage can be used to generate such gamma tables see gamma4scanimage 1 for details.
The description above is an example of an option that takes an arbitrary string value which happens to be a filename.