[sane-devel] sane-fujitsu problem with ADF

2008-12-23 Thread Marco Carvalho
Hi,

First of all, sorry for my terrible English.

I have a Fujitsu SI-5070C scanner, when I try to scan documents with
ADF the first document goes well but the subsequent documents stuck in
ADF.
After trying a lot I figure out that the problem apparently is the page size.

ofm at ofm-siged:~$ scanadf -t 0 -l 0 -x 210 -y 297 --resolution 300
--source 'ADF Front'
scanadf: rounded value of br-x from 210 to 210.01
scanadf: rounded value of br-y from 297 to 279.364
scanadf: sane_read: Error during device I/O
Error during device I/O
Scanned 0 pages

scanadf insist in change y value from 297 to 279.364 wich is short
than my document (A4 paper - 210x297 mm)

Looking at the mailing list I see some messages that mention
pagewidth and pageheight parameters, but I can't use these
parameters here:

ofm at ofm-siged:~$ scanimage --pagewidth 210 --pageheight 297 -t 0 -l 0
-x 210 -y 297 --resolution 300 --source 'ADF Front'
scanimage: unrecognized option '--pagewidth'

ofm at ofm-siged:~$ scanimage --pageheight 297 -t 0 -l 0 -x 210 -y 297
--resolution 300 --source 'ADF Front'
scanimage: unrecognized option '--pageheight'

There are something I missing?

 My scanadf --help:

ofm at ofm-siged:~$ scanadf --help -d fujitsu:libusb:001:018Usage:
scanadf [OPTION]...

Start image acquisition on a scanner device and write image data to
output files.

   [ -d | --device-name device ]   use a given scanner device.
   [ -h | --help ]   display this help message and exit.
   [ -L | --list-devices ]   show available scanner devices.
   [ -v | --verbose ]give even more status messages.
   [ -V | --version ]print version information.
   [ -N | --no-overwrite ]   don't overwrite existing files.

   [ -o | --output-file name ] name of file to write image data
 (%d replacement in output file name).
   [ -S | --scan-script name ] name of script to run after every scan.
   [ --script-wait ] wait for scripts to finish before exit
   [ -s | --start-count num ]  page count of first scanned image.
   [ -e | --end-count num ]last page number to scan.
   [ -r | --raw ]write raw image data to file.

Options specific to device `fujitsu:libusb:001:018':
  Scan Mode:
--source Flatbed|ADF Front|ADF Back|ADF Duplex [Flatbed]
Selects the scan source (such as a document-feeder).
--mode Lineart|Halftone|Gray|Color [Lineart]
--resolution 50..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..308.824mm (in steps of 0.0211639) [0]
Top-left x position of scan area.
-t 0..863.489mm (in steps of 0.0211639) [0]
Top-left y position of scan area.
-x 0..308.824mm (in steps of 0.0211639) [215.872]
Width of scan-area.
-y 0..863.489mm (in steps of 0.0211639) [279.364]
Height of scan-area.
  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.
--threshold 0..255 (in steps of 1) [0]
Select minimum-brightness to get a white point
--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
--bgcolor Default|White|Black [Default]
Set color of background for scans. May conflict with overscan option
--dropoutcolor Default|Red|Green|Blue [Default]
One-pass scanners use only one color during gray or binary scanning,
useful for colored paper or ink
--buffermode Default|Off|On [Default]
Request scanner to read pages quickly from ADF into internal memory
--prepick Default|Off|On [Default]
Request scanner to grab next page from ADF
--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 ``scanadf --help -d DEVICE'' to get list of all options for DEVICE.

List of available devices:
fujitsu:libusb:001:018


--
Marco Carvalho (macs) | marcoacarvalho(a)gmail.com
Maceio - Alagoas - Brazil
Debian GNU/Linux AMD64 unstable (Sid)
GNU-PG ID:08D82127 - Linux Registered User #141545
Not?cias Semanais do Debian em Portugu?s: http://www.debian.org/News/weekly
Alertas de Seguran?a Debian (DSA): 

[sane-devel] sane-fujitsu problem with ADF

2008-12-23 Thread m. allan noah
On Tue, Dec 23, 2008 at 9:39 AM, Marco Carvalho
marcoacarvalho at gmail.com wrote:
 Hi,

 First of all, sorry for my terrible English.

Your English is better than my Portuguese, so don't apologize :)


 I have a Fujitsu SI-5070C scanner, when I try to scan documents with
 ADF the first document goes well but the subsequent documents stuck in
 ADF.
 After trying a lot I figure out that the problem apparently is the page size.

I assume you mean the model is fi-5750?


 ofm at ofm-siged:~$ scanadf -t 0 -l 0 -x 210 -y 297 --resolution 300
 --source 'ADF Front'
 scanadf: rounded value of br-x from 210 to 210.01
 scanadf: rounded value of br-y from 297 to 279.364
 scanadf: sane_read: Error during device I/O
 Error during device I/O
 Scanned 0 pages

 scanadf insist in change y value from 297 to 279.364 wich is short
 than my document (A4 paper - 210x297 mm)

 Looking at the mailing list I see some messages that mention
 pagewidth and pageheight parameters, but I can't use these
 parameters here:

 ofm at ofm-siged:~$ scanimage --pagewidth 210 --pageheight 297 -t 0 -l 0
 -x 210 -y 297 --resolution 300 --source 'ADF Front'
 scanimage: unrecognized option '--pagewidth'

 ofm at ofm-siged:~$ scanimage --pageheight 297 -t 0 -l 0 -x 210 -y 297
 --resolution 300 --source 'ADF Front'
 scanimage: unrecognized option '--pageheight'

 There are something I missing?

yes- the order you specify the options to scanimage or scanadf will
change the list of available options.
Try 'scanimage --source 'ADF Front' --help'

I would also suggest that you upgrade to latest sane CVS version,
there have been many improvements for the combined flatbed/adf models.

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



[sane-devel] sane-fujitsu problem with ADF

2008-12-23 Thread Marco Carvalho
2008/12/23 m. allan noah kitno455 at gmail.com

 On Tue, Dec 23, 2008 at 12:08 PM, Marco Carvalho
 marcoacarvalho at gmail.com wrote:
 
 
  2008/12/23 m. allan noah kitno455 at gmail.com
 
  On Tue, Dec 23, 2008 at 9:39 AM, Marco Carvalho
  marcoacarvalho at gmail.com wrote:
   Hi,
  
   First of all, sorry for my terrible English.
 
  Your English is better than my Portuguese, so don't apologize :)
 
  hahaha!!! thanks
 
  
   I have a Fujitsu SI-5070C scanner, when I try to scan documents with
   ADF the first document goes well but the subsequent documents stuck in
   ADF.
   After trying a lot I figure out that the problem apparently is the
 page
   size.
 
  I assume you mean the model is fi-5750?
 
  Yes, my bad :)
 
 
  
   ofm at ofm-siged:~$ scanadf -t 0 -l 0 -x 210 -y 297 --resolution 300
   --source 'ADF Front'
   scanadf: rounded value of br-x from 210 to 210.01
   scanadf: rounded value of br-y from 297 to 279.364
   scanadf: sane_read: Error during device I/O
   Error during device I/O
   Scanned 0 pages
  
   scanadf insist in change y value from 297 to 279.364 wich is short
   than my document (A4 paper - 210x297 mm)
  
   Looking at the mailing list I see some messages that mention
   pagewidth and pageheight parameters, but I can't use these
   parameters here:
  
   ofm at ofm-siged:~$ scanimage --pagewidth 210 --pageheight 297 -t 0 -l 0
   -x 210 -y 297 --resolution 300 --source 'ADF Front'
   scanimage: unrecognized option '--pagewidth'
  
   ofm at ofm-siged:~$ scanimage --pageheight 297 -t 0 -l 0 -x 210 -y 297
   --resolution 300 --source 'ADF Front'
   scanimage: unrecognized option '--pageheight'
  
   There are something I missing?
 
  yes- the order you specify the options to scanimage or scanadf will
  change the list of available options.
  Try 'scanimage --source 'ADF Front' --help'
 
  Thanks for the tip, now I can see that options.
 
  But by problem persist, sometimes I can scan all pages, sometimes only
 four,
  sometimes only one of the same set of six pages.

 This may be a double feed detection issue. Those options have improved
 in the CVS version, so you definitely want to upgrade.

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


Well, I build sane-backends from
http://www.sane-project.org/snapshots/sane-backends-2008-12-23.tar.gz but I
have the same issue.

I upload the output of
SANE_DEBUG_FUJITSU=30 scanadf --source 'ADF Front' --page-width 210
--page-height 297 -t 0 -l 0 -x 210 -y 297 --resolution 300 --mode Lineart
--buffermode off 2fi-5070c.log
in http://www.ofm.com.br/fi-5070c.tar.gz

Maybe it can help in something.

Thanks a lot

-- 
Marco Carvalho (macs) | marcoacarvalho(a)gmail.com
Maceio - Alagoas - Brazil
Debian GNU/Linux AMD64 unstable (Sid)
GNU-PG ID:08D82127 - Linux Registered User #141545
Not?cias Semanais do Debian em Portugu?s: http://www.debian.org/News/weekly
Alertas de Seguran?a Debian (DSA): http://www.debian.org/security
Debian-BR-CDD - O seu Debian ? brasileira: http://cdd.debian-br.org
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20081223/eecfd2f5/attachment.htm