[sane-devel] gscan2pdf doesn't have all scan modes - sane-backend reporting issue.

m. allan noah kitno455 at gmail.com
Sun Apr 29 15:52:34 UTC 2012


What version of sane-backends are you using? It looks like a
regression in the avision backend, nothing to do with gscan2pdf.

allan

On Sun, Apr 29, 2012 at 11:21 AM, dgronos <dgronos at gmail.com> wrote:
> Hello all,
>
> 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
> gscan2pdf.
>
> It appears that the sane-backend is only reporting my scanner as "Color"
> mode.  scanimage --help attached
>
>
> Any suggestions please?
>
> Thank you,
>
> Dean
>
>
>
>
> scanimage --help
> Usage: scanimage [OPTION]...
>
> Start image acquisition on a scanner device and write image data to
> standard output.
>
> Parameters are separated by a blank from single-character options (e.g.
> -d epson) and by a "=" from multi-character options (e.g.
> --device-name=epson).
> -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
> output
>                            can be specified: %d (device name), %v (vendor),
>                            %m (model), %t (type), %i (index number), and
>                            %n (newline)
> -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-increment=2
>     --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':
>   Scan mode:
>     --mode Color [Color]
>         Selects the scan mode (e.g., lineart, monochrome, or color).
>     --resolution 50..600dpi (in steps of 1) [150]
>         Sets the resolution of the scanned image.
>     --speed 0..4 (in steps of 1) [inactive]
>         Determines the speed at which the scan proceeds.
>     --preview[=(yes|no)] [no]
>         Request a preview-quality scan.
>     --source ADF Front|ADF Back|ADF Duplex [ADF Front]
>         Selects the scan source (such as a document-feeder).
>   Geometry:
>     -l 0..216mm [0]
>         Top-left x position of scan area.
>     -t 0..362mm [0]
>         Top-left y position of scan area.
>     -x 0..216mm [216]
>         Width of scan-area.
>     -y 0..362mm [362]
>         Height of scan-area.
>     --overscan-top 0..4mm [inactive]
>         The top overscan controls the additional area to scan before the
> paper
>         is detected.
>     --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
> scan
>         before the paper is feed through the scanner.
>   Enhancement:
>     --brightness -100..100% (in steps of 1) [0]
>         Controls the brightness of the acquired image.
>     --contrast -100..100% (in steps of 1) [0]
>         Controls the contrast of the acquired image.
>     --quality-scan[=(yes|no)] [yes]
>         Turn on quality scanning (slower but better).
>     --quality-cal[=(yes|no)] [yes]
>         Do a quality white-calibration
>     --gamma-table 0..255,... [inactive]
>         Gamma-correction table.  In color mode this option equally affects
> the
>         red, green, and blue channels simultaneously (i.e., it is an
> intensity
>         gamma table).
>     --red-gamma-table 0..255,...
>         Gamma-correction table for the red band.
>     --green-gamma-table 0..255,...
>         Gamma-correction table for the green band.
>     --blue-gamma-table 0..255,...
>         Gamma-correction table for the blue band.
>     --exposure 0..1000% (in steps of 1) [inactive]
>         Manual exposure adjustment.
>     --infra-red[=(yes|no)] [inactive]
>         Enable infra-red scan mode.
>     --multi-sample[=(yes|no)] [inactive]
>         Enable multi-sample scan mode.
>   Scan mode:
>     --frame 0..0 [inactive]
>         Selects the number of the frame to scan
>     --power-save-time <int> [15]
>         Allows control of the scanner's power save timer, dimming or turning
>         off the light.
>     --paper-length[=(yes|no)] [no]
>         Newer scanners can utilize this paper length to detect double
> feeds.
>         However some others (DM152) can get confused during media flush if
> it
>         is set.
>     --flip-page[=(auto|yes|no)] [inactive]
>         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:
>     avision:libusb:001:005
>     hpaio:/usb/Photosmart_Premium_C309g-m?serial=MY026573P705D7
>
> scanimage -L
> 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
>
>
>
>
>
>
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>             to sane-devel-request at lists.alioth.debian.org



-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list