I am sorry, but -b seems not to solve my problems ><<br>I want to activate the duplex features of DocketPort 685<br>(DocketPort 685 is a duplex scanner with two sensors, up and down)<br>to scan a name card and <b>get its images of front and back at the same time.</b><br>
<br>I've found an article teaching how to activate duplex feature through sane<br>but it is device-dependent. ( the artcicle is about Canon P-150 scanner)<br>The original link is here <br><a href="http://ubuntuforums.org/showthread.php?t=1671216">http://ubuntuforums.org/showthread.php?t=1671216</a><br>
According to the article , i've done the following steps<br>1. scanimage -L  <br>    output: device `genesys:libusb:002:003' is a Syscan/Ambir DocketPORT 685 flatbed    <br>               scanner<br>2. scanimage --help --device-name canondr:libusb:002:002 <br>
    output is in the tail of this mail   <br> (<b>the sensor field is blank, and i didnt found any useful option for enabling duplex features , which means it doesn't support duplex feature?</b>)<br><br>Could anyone kindly tell me that Is there any modification of source code (I've compiled sane on my own) or any other ways to use duplex feature of DocketPort 685 through sane ?<br>
<br>Thank you for reading this ><<br><br>-------output start-----------------------------------<br>Usage: scanimage [OPTION]...<br><br>Start image acquisition on a scanner device and write image data to<br>standard output.<br>
<br>Parameters are separated by a blank from single-character options (e.g.<br>-d epson) and by a "=" from multi-character options (e.g. --device-name=epson).<br>-d, --device-name=DEVICE   use a given scanner device (e.g. hp:/dev/scanner)<br>
    --format=pnm|tiff      file format of output file<br>-i, --icc-profile=PROFILE  include this ICC profile into TIFF file<br>-L, --list-devices         show available scanner devices<br>-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output<br>
                           can be specified: %d (device name), %v (vendor),<br>                           %m (model), %t (type), %i (index number), and<br>                           %n (newline)<br>-b, --batch[=FORMAT]       working in batch mode, FORMAT is `out%d.pnm' or<br>
                           `out%d.tif' by default depending on --format<br>    --batch-start=#        page number to start naming files with<br>    --batch-count=#        how many pages to scan in batch mode<br>    --batch-increment=#    increase page number in filename by #<br>
    --batch-double         increment page number by two, same as<br>                           --batch-increment=2<br>    --batch-prompt         ask for pressing a key before scanning a page<br>    --accept-md5-only      only accept authorization requests using md5<br>
-p, --progress             print progress messages<br>-n, --dont-scan            only set options, don't actually scan<br>-T, --test                 test backend thoroughly<br>-A, --all-options          list all available backend options<br>
-h, --help                 display this help message and exit<br>-v, --verbose              give even more status messages<br>-B, --buffer-size=#        change input buffer size (in kB, default 32)<br>-V, --version              print version information<br>
Options specific to device `genesys:libusb:002:003':<br>  Scan Mode:<br>    --mode Color|Gray|Lineart [Gray]<br>        Selects the scan mode (e.g., lineart, monochrome, or color).<br>    --source Flatbed|Transparency Adapter [inactive]<br>
        Selects the scan source (such as a document-feeder).<br>    --preview[=(yes|no)] [no]<br>        Request a preview-quality scan.<br>    --depth 8|16 [8]<br>        Number of bits per sample, typical values are 1 for "line-art" and 8<br>
        for multibit scans.<br>    --resolution 600|300|150|75dpi [300]<br>        Sets the resolution of the scanned image.<br>  Geometry:<br>    -l 0..212mm [0]<br>        Top-left x position of scan area.<br>    -t 0..500mm [0]<br>
        Top-left y position of scan area.<br>    -x 0..212mm [212]<br>        Width of scan-area.<br>    -y 0..500mm [500]<br>        Height of scan-area.<br>  Enhancement:<br>    --custom-gamma[=(yes|no)] [no]<br>        Determines whether a builtin or a custom gamma-table should be used.<br>
    --gamma-table 0..65535,... [inactive]<br>        Gamma-correction table.  In color mode this option equally affects the<br>        red, green, and blue channels simultaneously (i.e., it is an intensity<br>        gamma table).<br>
    --red-gamma-table 0..65535,... [inactive]<br>        Gamma-correction table for the red band.<br>    --green-gamma-table 0..65535,... [inactive]<br>        Gamma-correction table for the green band.<br>    --blue-gamma-table 0..65535,... [inactive]<br>
        Gamma-correction table for the blue band.<br>    --swdeskew[=(yes|no)] [no]<br>        Request backend to rotate skewed pages digitally<br>    --swcrop[=(yes|no)] [no]<br>        Request backend to remove border from pages digitally<br>
    --swdespeck[=(yes|no)] [no]<br>        Request backend to remove lone dots digitally<br>    --despeck 1..9 (in steps of 1) [1]<br>        Maximum diameter of lone dots to remove from scan<br>  Extras:<br>    --lamp-off-time 0..60 [15]<br>
        The lamp will be turned off after the given time (in minutes). A value<br>        of 0 means, that the lamp won't be turned off.<br>    --threshold 0..100% (in steps of 1) [50]<br>        Select minimum-brightness to get a white point<br>
    --threshold-curve 0..127 (in steps of 1) [50]<br>        Dynamic threshold curve, from light to dark, normally 50-65<br>    --disable-dynamic-lineart[=(yes|no)] [no]<br>        Disable use of a software adaptive algorithm to generate lineart<br>
        relying instead on hardware lineart.<br>    --disable-interpolation[=(yes|no)] [no]<br>        When using high resolutions where the horizontal resolution is smaller<br>        than the vertical resolution this disables horizontal interpolation.<br>
    --color-filter Red|Green|Blue|None [None]<br>        When using gray or lineart this option selects the used color.<br>  <b>Sensors:</b><br>  Buttons:<br>    --calibrate []<br>        Start calibration using special sheet<br>
    --clear-calibration []<br>        Clear calibration cache<br><br>Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.<br><br>List of available devices:<br>    genesys:libusb:002:003<br><br>
<br><div class="gmail_quote">2011/11/11 m. allan noah <span dir="ltr"><<a href="mailto:kitno455@gmail.com" target="_blank">kitno455@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


You need to add the -b argument to scanimage, if you want multiple<br>
images. See man scanimage for details and other related options.<br>
<br>
allan<br>
<div><div></div><div><br>
On Fri, Nov 11, 2011 at 4:14 AM, ¯Q¤pĀt <<a href="mailto:mimisturtle@gmail.com" target="_blank">mimisturtle@gmail.com</a>> wrote:<br>
> Can I use SANE (scanimage) to get a duplex image from DocketPort 685<br>
> i have tried  "scanimage --help -d genesys:libusb:002:017"<br>
><br>
> it showed messags but i found that<br>
> "sensor:" was leaved blank , which meaned it didnt support "duplex" ?<br>
><br>
> the sane utility was complied by my own<br>
> I used sane-backends-1.0.22.tar.gz, libusb-0.1.12.tar.gz<br>
><br>
> Could you kindly  help me to get  a docketPort 685 duplex-supported sane<br>
> utility(scanimage) by modfication of source code or any other ways to<br>
> achieve it ?<br>
><br>
><br>
> Thanks a lot~<br>
><br>
><br>
><br>
</div></div>> --<br>
> sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org" target="_blank">sane-devel@lists.alioth.debian.org</a><br>
> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel</a><br>
> Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
>             to <a href="mailto:sane-devel-request@lists.alioth.debian.org" target="_blank">sane-devel-request@lists.alioth.debian.org</a><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
"The truth is an offense, but not a sin"<br>
</font></blockquote></div><br>