[sane-devel] gscan2pdf doesn't have all scan modes - sane-backend reporting issue.
dgronos at gmail.com
Sun Apr 29 15:21:21 UTC 2012
Upgraded to Ubuntu 12.04 LTS and installed gscan2pdf 0.9.32 from
the repository. I was using this in 10.04 and it just worked great.
However, now I only have one scan mode (color). No line art or grat scale
selection option. I scan a lot in line and gray scale. My scanner is a
Xerox Documate252. I even tried version 1 and still only have the one
scan mode. I have since upgraded via PPA to the latest version 1.0.4 of
It appears that the sane-backend is only reporting my scanner as "Color"
mode. scanimage --help attached
Any suggestions please?
Usage: scanimage [OPTION]...
Start image acquisition on a scanner device and write image data to
Parameters are separated by a blank from single-character options (e.g.
-d epson) and by a "=" from multi-character options (e.g.
-d, --device-name=DEVICE use a given scanner device (e.g. hp:/dev/scanner)
--format=pnm|tiff file format of output file
-i, --icc-profile=PROFILE include this ICC profile into TIFF file
-L, --list-devices show available scanner devices
-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the
can be specified: %d (device name), %v (vendor),
%m (model), %t (type), %i (index number), and
-b, --batch[=FORMAT] working in batch mode, FORMAT is `out%d.pnm' or
`out%d.tif' by default depending on --format
--batch-start=# page number to start naming files with
--batch-count=# how many pages to scan in batch mode
--batch-increment=# increase page number in filename by #
--batch-double increment page number by two, same as
--batch-prompt ask for pressing a key before scanning a page
--accept-md5-only only accept authorization requests using md5
-p, --progress print progress messages
-n, --dont-scan only set options, don't actually scan
-T, --test test backend thoroughly
-A, --all-options list all available backend options
-h, --help display this help message and exit
-v, --verbose give even more status messages
-B, --buffer-size=# change input buffer size (in kB, default 32)
-V, --version print version information
Options specific to device `avision:libusb:001:005':
--mode Color [Color]
Selects the scan mode (e.g., lineart, monochrome, or color).
--resolution 50..600dpi (in steps of 1) 
Sets the resolution of the scanned image.
--speed 0..4 (in steps of 1) [inactive]
Determines the speed at which the scan proceeds.
Request a preview-quality scan.
--source ADF Front|ADF Back|ADF Duplex [ADF Front]
Selects the scan source (such as a document-feeder).
-l 0..216mm 
Top-left x position of scan area.
-t 0..362mm 
Top-left y position of scan area.
-x 0..216mm 
Width of scan-area.
-y 0..362mm 
Height of scan-area.
--overscan-top 0..4mm [inactive]
The top overscan controls the additional area to scan before the
--overscan-bottom 0..4mm [inactive]
The bottom overscan controls the additional area to scan after the
paper end is detected.
--background-lines 0..50pel [inactive]
The background raster controls the additional background lines to
before the paper is feed through the scanner.
--brightness -100..100% (in steps of 1) 
Controls the brightness of the acquired image.
--contrast -100..100% (in steps of 1) 
Controls the contrast of the acquired image.
Turn on quality scanning (slower but better).
Do a quality white-calibration
--gamma-table 0..255,... [inactive]
Gamma-correction table. In color mode this option equally affects
red, green, and blue channels simultaneously (i.e., it is an
Gamma-correction table for the red band.
Gamma-correction table for the green band.
Gamma-correction table for the blue band.
--exposure 0..1000% (in steps of 1) [inactive]
Manual exposure adjustment.
Enable infra-red scan mode.
Enable multi-sample scan mode.
--frame 0..0 [inactive]
Selects the number of the frame to scan
--power-save-time <int> 
Allows control of the scanner's power save timer, dimming or turning
off the light.
Newer scanners can utilize this paper length to detect double
However some others (DM152) can get confused during media flush if
Tells page-flipping document scanners to flip the paper back to its
original orientation before dropping it in the output tray. Turning
this off might make scanning a little faster if you don't care about
manually flipping the pages afterwards.
Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
List of available devices:
device `avision:libusb:001:005' is a Xerox DocuMate252-G sheetfed scanner
device `hpaio:/usb/Photosmart_Premium_C309g-m?serial=MY026573P705D7' is a
Hewlett-Packard Photosmart_Premium_C309g-m all-in-one
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sane-devel