Anything DIY

SANE and Canon imageFORMULA DR-9080C

Post Reply
other / anything     Views: 276Prev .. Next
SANE and Canon imageFORMULA DR-9080CPosted: Monday, March 27, 2023 [03:22:34] - 1
rootPosted by:rootMember Since:
June 16 2010
Posts: 357
Canon DR-9080C has pretty good SANE support for scanning. Not all commands are straight-forward.

Image 1

Here is our take on how we managed to make it work:
Adding scanner to /usr/local/etc/sane.d/canon_dr.conf
View Code# DR-9080C
usb 0x04a9 0x1603

checking if scanner found:
View Codescanimage -L
device `canon_dr:libusb:000:002' is a CANON DR-9080C scanner

- SANE recognized the scanner

Next, getting all options specific to Canon imageFORMULA DR-9080C:
View Codescanimage -A
All options specific to device `canon_dr:libusb:000:002':
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:
--page-width 0..304.761mm (in steps of 0.0211639) [215.872]
Specifies the width of the media. Required for automatic centering of
sheet-fed scans.
--page-height 0..432.506mm (in steps of 0.0211639) [279.364]
Specifies the height of the media.
-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.
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:
--compression-arg 0..100 (in steps of 1) [inactive]
Level of JPEG compression. 1 is small file, 100 is large file.
--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
--swskip 0..100% (in steps of 0.100006) [0]
Request driver to discard pages with low percentage of dark pixels
--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 the next call to
sane_read will return.
Sensors:
--start[=(yes|no)] [no] [hardware]
Big green or small 1 button
--stop[=(yes|no)] [no] [hardware]
Small orange or small 2 button
--button-3[=(yes|no)] [no] [hardware]
Small 3 button
--newfile[=(yes|no)] [no] [hardware]
New File button
--countonly[=(yes|no)] [no] [hardware]
Count Only button
--bypassmode[=(yes|no)] [no] [hardware]
Bypass Mode button
--counter 0..500 (in steps of 1) [0] [hardware]
Scan counter

Next - actual codes for scanning.There's no place like ~
RE: SANE and Canon imageFORMULA DR-9080CPosted: Monday, March 27, 2023 [03:39:53] - 2
rootPosted by:rootMember Since:
June 16 2010
Posts: 357
SANE and Canon imageFORMULA DR-9080C
There are many scanning options to scan different paper sizes, and some stuff to correct thing during scan and after performed by scanner.
Here some basic settings to scan 11x17" document:
View Codescanimage --mode Gray --device-name=canon_dr:libusb:000:002 --source='ADF Duplex' --page-width 279.364 --page-height 432.506 --resolution 300 --format=tiff --batch=/home/fscan/scan.%d.tif

--mode Gray/Color/Lineart/Halftone - changes the color mode
--device-name - copy your scanner's data from scanimage -L output
--source='ADF Duplex' - sets scanner to scan both sides
--page-width 279.364 translates to 11 inches
--page-height 432.506 translates to 17 inches
--resolution 300 resolution settings
--format=tiff output file format
--batch=/your/folder/scan.%d.tif - continuous scanning to a folder: /your/folder and %d will be replaced by a scanned page number.
If one document scanned - document front will get number "1" and document back will be "2"
i.e. --batch=/your/folder/scan.%d.tif will result in two files:
/your/folder/scan.1.tif - front of the page
/your/folder/scan.2.tif - back of the pageThere's no place like ~
RE: SANE and Canon imageFORMULA DR-9080CPosted: Sunday, April 23, 2023 [17:26:06] - 3
rootPosted by:rootMember Since:
June 16 2010
Posts: 357
Setting-up Canon DR-9080C Web GUI for SANE:
www.codemacs.com/other/an..
It is accessible on LAN from any computer or mobile device.There's no place like ~
other / anythingPrev .. Next
 
Post Reply
Home - Other: Anything DIY
Our Telegram Group