[sane-devel] Fujitsu fi-5110eox scan area ignores pagewidth option?

spammed spammed at get2net.dk
Mon May 19 12:19:11 UTC 2008


Hello SANE people,

I have a Fujitsu fi-5110eox ADF scanner that I use on Ubuntu 8.04 with
scanimage and the fujitsu backend (both version 1.0.19). A couple of
questions:

1.
The 5110 has a couple of paper guides that are adjusted symmetrically,
so that the paper is centered with respect to the scanner's vertical
center axis. According to the sane-fujitsu man page the pagewidth option
is used by the scanner to determine centering of scan coordinates. 

Am I correct in assuming that as long as you correctly set the pagewidth
option, (tl-x, tl-y) = (0, 0) is always at the top left corner of the
inserted sheet? Because that is not what I get, as seen from the
attached example of scanning an A5 page:

scanimage --pagewidth=148 --pageheight=210 -t 0 -l 0 -x 148 -y 210
--resolution=150 --source='ADF Front' > out.pnm

It looks as if the horisontal reference is at the extreme left of the
scanning area. Is this a bug? If not, what is the purpose of the
pagewidth option?

2.
According to scanimage --help, the scanner accepts a --pageheight of up
to 863.489 mm. Then why is the max value for -t and -y reported to be
only 279.364 mm? (This value corresponds to 'letter' format?) 

Thank you in advance.

Best regards,
Jacob Nielsen

Attached: Scanner info and output of A5 scan (reduced to 75 dpi to limit
size)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080519/57e27072/attachment.htm 
-------------- next part --------------
$ scanimage -V
scanimage (sane-backends) 1.0.19; backend version 1.0.19
$ scanimage -L
device `fujitsu:libusb:006:005' is a FUJITSU fi-5110EOX scanner
$ scanimage --help -d fujitsu:libusb:006:005
Usage: scanimage [OPTION]...

Start image acquisition on a scanner device and write PNM 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), and %i (index number)
-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 number in filename by an amount of #
    --batch-double         increment page number by two for 2sided originals
                           being scanned in a single sided scanner
    --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
-h, --help                 display this help message and exit
-v, --verbose              give even more status messages
-B, --buffer-size          change default input buffersize
-V, --version              print version information

Options specific to device `fujitsu:libusb:006:005':
  Scan Mode:
    --source ADF Front|ADF Back|ADF Duplex [ADF Front]
        Selects the scan source (such as a document-feeder).
    --mode Gray|Color [Gray]
        Selects the scan mode (e.g., lineart, monochrome, or color).
    --resolution 100..600dpi (in steps of 1) [600]
        Sets the horizontal resolution of the scanned image.
    --y-resolution 50..600dpi (in steps of 1) [600]
        Sets the vertical resolution of the scanned image.
  Geometry:
    -l 0..215.872mm (in steps of 0.0211639) [0]
        Top-left x position of scan area.
    -t 0..279.364mm (in steps of 0.0211639) [0]
        Top-left y position of scan area.
    -x 0..215.872mm (in steps of 0.0211639) [215.872]
        Width of scan-area.
    -y 0..279.364mm (in steps of 0.0211639) [279.364]
        Height of scan-area.
    --pagewidth 0..224.846mm (in steps of 0.0211639) [215.872]
        Must be set properly to align scanning window
    --pageheight 0..863.489mm (in steps of 0.0211639) [279.364]
        Must be set properly to eject pages
  Enhancement:
    --brightness -127..127 (in steps of 1) [0]
        Controls the brightness of the acquired image.
    --contrast -127..127 (in steps of 1) [0]
        Controls the contrast of the acquired image.
    --rif[=(yes|no)] [no]
        Reverse image format
  Advanced:
    --dfdetect Default|None|Thickness|Length|Both [Default]
        Enable double feed sensors
    --dfdiff Default|10mm|15mm|20mm [Default]
        Difference in page length to trigger double feed sensor
    --dropoutcolor Default|Red|Green|Blue [Default]
        One-pass scanners use only one color during gray or binary scanning,
        useful for colored paper or ink
    --overscan Default|Off|On [Default]
        Collect a few mm of background on top side of scan, before paper
        enters ADF, and increase maximum scan area beyond paper size, to allow
        collection on remaining sides. May conflict with bgcolor option
    --sleeptimer 0..60 (in steps of 1) [0]
        Time in minutes until the internal power supply switches to sleep mode
  Sensors and Buttons:

Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.

List of available devices:
    fujitsu:libusb:006:005
$ scanimage --pagewidth=148 --pageheight=210 -t 0 -l 0 -x 148 -y 210 --resolution=150 --source='ADF Front' > out.pnm
scanimage: rounded value of pagewidth from 148 to 147.999
scanimage: rounded value of pageheight from 210 to 210.01
scanimage: rounded value of tl-y from 0 to 0
scanimage: rounded value of tl-x from 0 to 0
scanimage: rounded value of resolution from 150 to 150
scanimage: rounded value of br-x from 148 to 147.999
scanimage: rounded value of br-y from 210 to 210.01
$
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out.jpg
Type: image/jpeg
Size: 12433 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080519/57e27072/attachment.jpg 


More information about the sane-devel mailing list