[sane-devel] canon_dr and DR-7090C

2011-01-16 Thread Sean Casey
I've started to test the canon-dr backed with my DR-7090C scanner, 
with latest snapshot (libsane-canon.so.1.0.22).  I'm using xsane 
V.0.997 and scanimage V.1.0.21.

ADF Duplex and ADF Front works fine, as does all of the scanner's 
supported resolutions, and Color/Grey/Halftone/Lineart.

I'm fortunate that ADF Front and ADF Duplex is working, but 
neither xsane nor scanimage provides a Flatbed option.  I have 
included a list of all scanimage options detected.  There is no 
flatbed option.


==

root at borg:/tmp# scanimage --help -d canon_dr:libusb:001:007
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
-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 `canon_dr:libusb:001:007':
  Standard:
--source ADF Front|ADF Duplex [ADF Front]
Selects the scan source (such as a document-feeder).
--mode Lineart|Halftone|Gray|Color [Lineart]
Selects the scan mode (e.g., lineart, monochrome, or color).
--resolution 100|150|200|240|300|400|600dpi [600]
Sets the 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.
--page-width 0..298.158mm (in steps of 0.0211639) [215.872]
Specifies the width of the media.  Required for automatic 
centering of
sheet-fed scans.
--page-height 0..431.744mm (in steps of 0.0211639) [279.364]
Specifies the height of the media.
  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) [90]
Select minimum-brightness to get a white point
  Advanced:
--df-thickness[=(yes|no)] [no]
Detect double feeds using thickness sensor
--df-length[=(yes|no)] [no]
Detect double feeds by comparing document lengths
--rollerdeskew[=(yes|no)] [no]
Request scanner to correct skewed pages mechanically
--swdeskew[=(yes|no)] [no]
Request driver to rotate skewed pages digitally
--swdespeck 0..9 (in steps of 1) [0]
Maximum diameter of lone dots to remove from scan
--swcrop[=(yes|no)] [no]
Request driver to remove border from pages digitally
--stapledetect[=(yes|no)] [no]
Request scanner to halt if stapled pages are detected
--dropout-front None|Red|Green|Blue|Enhance Red|Enhance 
Green|Enhance Blue [None]
One-pass scanners use only one color during gray or binary 
scanning,
useful for colored paper or ink
--dropout-back None|Red|Green|Blue|Enhance Red|Enhance 
Green|Enhance Blue [None]
One-pass scanners use only one color during gray or binary 
scanning,
useful for colored paper or ink
--buffermode[=(yes|no)] [no]
Request scanner to read pages async into internal memory
--side[=(yes|no)] [no] [read-only]
Tells which side (0=front, 1=back) of a duplex scan 

[sane-devel] DR-7090C Contribution

2011-01-12 Thread Sean Casey
Hello,

Just purchased a DR-7090C and I'm very, very pleased to find it works 
with the canon_dr SANE backend. For those who made this possible, A 
BIG THANK YOU!

I have used simplex, duplex, all supported resolutions, gray/color, 
and multifeed without any issues.

I have included some information for you.  If I can provide any 
further information, please drop me a note with your specific 
instructions.

Thank you!

- Sean Casey

=
root at borg:/home/svc# uname -a
Linux borg 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 
2010 x86_64 GNU/Linux
root at borg:/home/svc# sane-find-scanner -v -v
This is sane-find-scanner from sane-backends 1.0.21

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

searching for SCSI scanners:
checking /dev/scanner... failed to open (Invalid argument)
checking /dev/sg0... failed to open (Invalid argument)
checking /dev/sg1... failed to open (Invalid argument)
checking /dev/sg2... failed to open (Invalid argument)
checking /dev/sg3... failed to open (Invalid argument)
checking /dev/sg4... failed to open (Invalid argument)
checking /dev/sg5... failed to open (Invalid argument)
checking /dev/sg6... failed to open (Invalid argument)
checking /dev/sg7... failed to open (Invalid argument)
checking /dev/sg8... failed to open (Invalid argument)
checking /dev/sg9... failed to open (Invalid argument)
checking /dev/sga... failed to open (Invalid argument)
checking /dev/sgb... failed to open (Invalid argument)
checking /dev/sgc... failed to open (Invalid argument)
checking /dev/sgd... failed to open (Invalid argument)
checking /dev/sge... failed to open (Invalid argument)
checking /dev/sgf... failed to open (Invalid argument)
checking /dev/sgg... failed to open (Invalid argument)
checking /dev/sgh... failed to open (Invalid argument)
checking /dev/sgi... failed to open (Invalid argument)
checking /dev/sgj... failed to open (Invalid argument)
checking /dev/sgk... failed to open (Invalid argument)
checking /dev/sgl... failed to open (Invalid argument)
checking /dev/sgm... failed to open (Invalid argument)
checking /dev/sgn... failed to open (Invalid argument)
checking /dev/sgo... failed to open (Invalid argument)
checking /dev/sgp... failed to open (Invalid argument)
checking /dev/sgq... failed to open (Invalid argument)
checking /dev/sgr... failed to open (Invalid argument)
checking /dev/sgs... failed to open (Invalid argument)
checking /dev/sgt... failed to open (Invalid argument)
checking /dev/sgu... failed to open (Invalid argument)
checking /dev/sgv... failed to open (Invalid argument)
checking /dev/sgw... failed to open (Invalid argument)
checking /dev/sgx... failed to open (Invalid argument)
checking /dev/sgy... failed to open (Invalid argument)
checking /dev/sgz... failed to open (Invalid argument)
  # No SCSI scanners found. If you expected something different, make 
sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

searching for USB scanners:
checking /dev/usb/scanner... failed to open (Invalid argument)
checking /dev/usb/scanner0... failed to open (Invalid argument)
checking /dev/usb/scanner1... failed to open (Invalid argument)
checking /dev/usb/scanner2... failed to open (Invalid argument)
checking /dev/usb/scanner3... failed to open (Invalid argument)
checking /dev/usb/scanner4... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner7... failed to open (Invalid argument)
checking /dev/usb/scanner8... failed to open (Invalid argument)
checking /dev/usb/scanner9... failed to open (Invalid argument)
checking /dev/usb/scanner10... failed to open (Invalid argument)
checking /dev/usb/scanner11... failed to open (Invalid argument)
checking /dev/usb/scanner12... failed to open (Invalid argument)
checking /dev/usb/scanner13... failed to open (Invalid argument)
checking /dev/usb/scanner14... failed to open (Invalid argument)
checking /dev/usb/scanner15... failed to open (Invalid argument)
checking /dev/usbscanner... failed to open (Invalid argument)
checking /dev/usbscanner0... failed to open (Invalid argument)
checking /dev/usbscanner1... failed to open (Invalid argument)
checking /dev/usbscanner2... failed to open (Invalid argument)
checking /dev/usbscanner3... failed to open (Invalid argument)
checking /dev/usbscanner4... failed to open (Invalid argument)
checking /dev/usbscanner5... failed to open (Invalid argument)
checking /dev/usbscanner6... failed to open (Invalid argument)
checking /dev/usbscanner7... failed to open (Invalid argument)
checking /dev/usbscanner8... failed to open (Invalid argument)
checking /dev/usbscanner9... failed to open (Invalid argument)
checking /dev/usbscanner10... failed to open (Invalid argument)
checking