[sane-devel] Hello, I am Fedora user using SANE for my DocketPort 685

2011-11-11 Thread 烏小龜
Can I use SANE (scanimage) to get a duplex image from DocketPort 685

i have tried  "scanimage --help -d genesys:libusb:002:017"

it showed messags but i found that
"sensor:" was leaved blank , which meaned it didnt support "duplex" ?

the sane utility was complied by my own
I used sane-backends-1.0.22.tar.gz, libusb-0.1.12.tar.gz

Could you kindly  help me to get  a docketPort 685 duplex-supported sane
utility(scanimage) by modfication of source code or any other ways to
achieve it ?


Thanks a lot~
-- next part --
An HTML attachment was scrubbed...
URL: 



[sane-devel] Hello, I am Fedora user using SANE for my DocketPort 685

2011-11-11 Thread m. allan noah
You need to add the -b argument to scanimage, if you want multiple
images. See man scanimage for details and other related options.

allan

On Fri, Nov 11, 2011 at 4:14 AM, ???  wrote:
> Can I use SANE (scanimage) to get a duplex image from DocketPort 685
> i have tried ?"scanimage --help -d?genesys:libusb:002:017"
>
> it showed messags but i found that
> "sensor:" was leaved blank , which meaned it didnt support "duplex" ?
>
> the sane utility was complied by my own
> I used sane-backends-1.0.22.tar.gz, libusb-0.1.12.tar.gz
>
> Could you kindly? help me to get? a docketPort 685 duplex-supported sane
> utility(scanimage) by modfication of source code or any other ways to
> achieve it ?
>
>
> Thanks a lot~
>
>
>
> --
> 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"



[sane-devel] Hello, I am Fedora user using SANE for my DocketPort 685

2011-11-14 Thread 烏小龜
I am sorry, but -b seems not to solve my problems ><
I want to activate the duplex features of DocketPort 685
(DocketPort 685 is a duplex scanner with two sensors, up and down)
to scan a name card and *get its images of front and back at the same time.*

I've found an article teaching how to activate duplex feature through sane
but it is device-dependent. ( the artcicle is about Canon P-150 scanner)
The original link is here
http://ubuntuforums.org/showthread.php?t=1671216
According to the article , i've done the following steps
1. scanimage -L
output: device `genesys:libusb:002:003' is a Syscan/Ambir DocketPORT
685 flatbed
   scanner
2. scanimage --help --device-name canondr:libusb:002:002
output is in the tail of this mail
 (*the sensor field is blank, and i didnt found any useful option for
enabling duplex features , which means it doesn't support duplex feature?*)

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 ?

Thank you for reading this ><

---output start---
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-scanonly 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 `genesys:libusb:002:003':
  Scan Mode:
--mode Color|Gray|Lineart [Gray]
Selects the scan mode (e.g., lineart, monochrome, or color).
--source Flatbed|Transparency Adapter [inactive]
Selects the scan source (such as a document-feeder).
--preview[=(yes|no)] [no]
Request a preview-quality scan.
--depth 8|16 [8]
Number of bits per sample, typical values are 1 for "line-art" and 8
for multibit scans.
--resolution 600|300|150|75dpi [300]
Sets the resolution of the scanned image.
  Geometry:
-l 0..212mm [0]
Top-left x position of scan area.
-t 0..500mm [0]
Top-left y position of scan area.
-x 0..212mm [212]
Width of scan-area.
-y 0..500mm [500]
Height of scan-area.
  Enhancement:
--custom-gamma[=(yes|no)] [no]
Determines whether a builtin or a custom gamma-table should be used.
--gamma-table 0..65535,... [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..65535,... [inactive]
Gamma-correction table for the red band.
--green-gamma-table 0..65535,... [inactive]
Gamma-correction table for the green band.
--blue-gamma-table 0..65535,... [inactive]
Gamma-correction table for the blue band.
--swdeskew[=(yes|no)] [no]
Request backend to rotate skewed pages digitally
--swcrop[=(yes|no)] [no]
Request backend to remove border from pages digitally
--swdespeck[=(yes|no)] [no]
Request backend to remove lone dots digitally
--despeck 1..9 (in steps of 1) [1]
Maximum diameter of lone dots to remove from scan
  Extras:
--lamp-off-time 0..60 [15]
The lamp will be turned off after the given time (in minutes). A
value
of 0 means, that the lamp w

[sane-devel] Hello, I am Fedora user using SANE for my DocketPort 685

2011-11-14 Thread m. allan noah
According to our support page:

http://www.sane-project.org/cgi-bin/driver.pl?manu=syscan&model=685&bus=any&v=&p=

the backend does not fully support duplex:

"front- and backside side-by-side, with backside mirrored horizontally."

Have you tried making your requested image wider?

allan

2011/11/14 ??? :
> I am sorry, but -b seems not to solve my problems ><
> I want to activate the duplex features of DocketPort 685
> (DocketPort 685 is a duplex scanner with two sensors, up and down)
> to scan a name card and get its images of front and back at the same time.
>
> I've found an article teaching how to activate duplex feature through sane
> but it is device-dependent. ( the artcicle is about Canon P-150 scanner)
> The original link is here
> http://ubuntuforums.org/showthread.php?t=1671216
> According to the article , i've done the following steps
> 1. scanimage -L
> ??? output: device `genesys:libusb:002:003' is a Syscan/Ambir DocketPORT 685
> flatbed
> ?? scanner
> 2. scanimage --help --device-name canondr:libusb:002:002
> ??? output is in the tail of this mail
> ?(the sensor field is blank, and i didnt found any useful option for
> enabling duplex features , which means it doesn't support duplex feature?)
>
> 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 ?
>
> Thank you for reading this ><
>
> ---output start---
> 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 `genesys:libusb:002:003':
> ? Scan Mode:
> ??? --mode Color|Gray|Lineart [Gray]
> ??? Selects the scan mode (e.g., lineart, monochrome, or color).
> ??? --source Flatbed|Transparency Adapter [inactive]
> ??? Selects the scan source (such as a document-feeder).
> ??? --preview[=(yes|no)] [no]
> ??? Request a preview-quality scan.
> ??? --depth 8|16 [8]
> ??? Number of bits per sample, typical values are 1 for "line-art" and 8
> ??? for multibit scans.
> ??? --resolution 600|300|150|75dpi [300]
> ??? Sets the resolution of the scanned image.
> ? Geometry:
> ??? -l 0..212mm [0]
> ??? Top-left x position of scan area.
> ??? -t 0..500mm [0]
> ??? Top-left y position of scan area.
> ??? -x 0..212mm [212]
> ??? Width of scan-area.
> ??? -y 0..500mm [500]
> ??? Height of scan-area.
> ? Enhancement:
> ??? --custom-gamma[=(yes|no)] [no]
> ??? Determines whether a builtin or a custom gamma-table should be used.
> ??? --gamma-table 0..65535,... [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..65535,... [inactive]
> ??? Gamma-correction table for the red band.
> ??? --green-gamma-table 0..65535,... [inactive]
> ??? Gamma-correction table for the green band.
> ??? --blue-gamma-table 0..65535,... [inactive]
> ??? Gamma-correction table for the blue band.
> ??? --swdeskew[=(yes|no

[sane-devel] Hello, I am Fedora user using SANE for my DocketPort 685

2011-11-14 Thread Stef
Le lundi 14 novembre 2011 07:17:23 m. allan noah a ?crit :
> According to our support page:
> 
> http://www.sane-project.org/cgi-bin/driver.pl?manu=syscan&model=685&bus=any&;
> v=&p=
> 
> the backend does not fully support duplex:
> 
> "front- and backside side-by-side, with backside mirrored horizontally."
> 
> Have you tried making your requested image wider?
> 
> allan
> 

Hello,

I confirm that the genesys backend doesn't handle duplex. The two 
sensors 
are used as a single wide sensor. When using full scan area width (which is 
about the double of the width of A4), you 'll get front picture on the left 
side, while the back's one will be on the right top down. So you'll have to 
cut the scanned picture in two and filp one of the parts.

Regards,
Stef  



[sane-devel] Hello, I am Fedora user using SANE for my DocketPort 685

2011-11-21 Thread 烏小龜
Hello, at first I have to thank you for reading my problem and give me
direction ^^

Double the width works, I can get both side in one image at  the same time.

But there is one another question . When I set the image to gray-scale
image (pgm)  by "scanimage -x 212 -y 120 --format=pnm > output.pgm"

Things goes very well. But if I set the image to color image(ppm) by
"scanimage --mode Color -x 212 -y 120 --format=pnm > output.ppm"

There seems to be some noises on the image. There are serveral yellow lines
on the front-side image of my name card, and the back-side is a good one.

I've also changed "-y 120" to "-y 90" range to "-y 140", and it didn't work.

Belows are my output image on dropbox .

Could you kindly tell me how to make the image good? Thank you ><

Gray
http://dl.dropbox.com/u/50343039/output.pgm

Color
http://dl.dropbox.com/u/50343039/output.ppm

B.R
2011/11/15 Stef 

> Le lundi 14 novembre 2011 07:17:23 m. allan noah a ?crit :
> > According to our support page:
> >
> >
> http://www.sane-project.org/cgi-bin/driver.pl?manu=syscan&model=685&bus=any&;
> > v=&p=
> >
> > the backend does not fully support duplex:
> >
> > "front- and backside side-by-side, with backside mirrored horizontally."
> >
> > Have you tried making your requested image wider?
> >
> > allan
> >
>
> Hello,
>
>I confirm that the genesys backend doesn't handle duplex. The two
> sensors
> are used as a single wide sensor. When using full scan area width (which is
> about the double of the width of A4), you 'll get front picture on the left
> side, while the back's one will be on the right top down. So you'll have to
> cut the scanned picture in two and filp one of the parts.
>
> Regards,
> Stef
>
-- next part --
An HTML attachment was scrubbed...
URL: 



[sane-devel] Hello, I am Fedora user using SANE for my DocketPort 685

2011-11-21 Thread Stef
Le lundi 21 novembre 2011 12:06:28 ??? a ?crit :
> Hello, at first I have to thank you for reading my problem and give me
> direction ^^
> 
> Double the width works, I can get both side in one image at  the same time.
> 
> But there is one another question . When I set the image to gray-scale
> image (pgm)  by "scanimage -x 212 -y 120 --format=pnm > output.pgm"
> 
> Things goes very well. But if I set the image to color image(ppm) by
> "scanimage --mode Color -x 212 -y 120 --format=pnm > output.ppm"
> 
> There seems to be some noises on the image. There are serveral yellow lines
> on the front-side image of my name card, and the back-side is a good one.
> 
> I've also changed "-y 120" to "-y 90" range to "-y 140", and it didn't work.
> 
> Belows are my output image on dropbox .
> 
> Could you kindly tell me how to make the image good? Thank you ><
> 
> Gray
> http://dl.dropbox.com/u/50343039/output.pgm
> 
> Color
> http://dl.dropbox.com/u/50343039/output.ppm
> 
> B.R
> 2011/11/15 Stef 
> 

Hello,

you haven't calibrated yet your scanner with the calibration target 
(the 
with card with an horizontal black stripe). You can either use the 'calibrate' 
button in XSane or run 'scanimage -d genesys --calibrate >calib.pnm' .
SANE doesn't currently give a mean to signal users to do such calibration, you 
can't know what is going on unless you read the man page.

Regards,
Stef