sane−canon_dr - Online Linux Manual PageSection : 5
Updated : 13 Feb 2021
Source :
Note : SANE Scanner Access Now Easy
.IX sane−canon_dr
NAMEsane−canon_dr − SANE backend for Canon DR-series scanners
DESCRIPTIONThe sane−canon_dr library implements a SANE (Scanner Access Now Easy) backend which provides access to some Canon DR-series scanners. This document describes backend version 60, which shipped with SANE 1.0.32.
SUPPORTED HARDWAREThis version has only been tested with a few scanner models. Please see http://www.sane−project.org/sane−supported−devices.html for the most recent list. This backend may support other Canon scanners. The best way to determine level of support is to test the scanner directly, or to collect a trace of the windows driver in action. Please contact the author for help or with test results. In general, the larger machines (DR-4000 and up) which have been tested use a fairly complete protocol, with hardware support for many modes, resolutions and features. The smaller machines have many limitations, like missing horizontal resolutions, missing binary mode, always scanning full-width, etc. There is code in the backend to address these problems, but there seems to be no way to detect if they are required, so they must be hard-coded.
OPTIONSEffort has been made to expose most hardware options, including: −−source Flatbed|ADF Front|ADF Back|ADF Duplex Selects the source for the scan. −−mode Lineart|Halftone|Gray|Color Selects the mode for the scan. −−resolution Controls scan resolution. −−tl−x, −−tl−y, −−br−x, −−br−y Sets scan area upper left and lower right coordinates. These are renamed -t, -l, -x, -y by some frontends. −−page−width, −−page−height Sets paper size. Used by scanner to determine centering of scan coordinates when using the ADF (Automatic Document Feeder) and to detect double feed errors. Other options will be available based on the capabilities of the scanner: enhancement, compression, buttons and sensors, etc. Additionally, several 'software' options are exposed by the backend. These are reimplementations of features provided natively by larger scanners, but running on the host computer. This enables smaller machines to have similar capabilities. Please note that these features are somewhat simplistic, and may not perform as well as the native implementations. Note also that these features all require that the driver cache the entire image in memory. This will almost certainly result in a reduction of scanning speed. −−swcrop Requests the driver to detect the extremities of the paper within the larger image, and crop the empty edges. −−swdeskew Requests the driver to detect the rotation of the paper within the larger image, and counter the rotation. −−swdespeck X Requests the driver to find and remove dots of X diameter or smaller from the image, and fill the space with the average surrounding color. Use 'scanimage −−help' to get a list, but be aware that some options may be settable only when another option has been set, and that advanced options may be hidden by some frontend programs.
CONFIGURATION FILEThe configuration file canon_dr.conf is used to tell the backend how to look for scanners, and provide options controlling the operation of the backend. This file is read each time the frontend asks the backend for a list of scanners, generally only when the frontend starts. If the configuration file is missing, the backend will fail to run. Scanners can be specified in the configuration file in 4 ways: "scsi CANON DR" Requests backend to search all scsi buses in the system for a device which reports itself to be a scanner made by 'CANON', with a model name starting with 'DR'. "scsi /dev/sg0" (or other scsi device file) Requests backend to open the named scsi device. Only useful if you have multiple compatible scanners connected to your system, and need to specify one. Probably should not be used with the other "scsi" line above. "usb 0x04a9 0x1603" (or other vendor/product ids) Requests backend to search all usb buses in the system for a device which uses that vendor and product id. The device will then be queried to determine if it is a Canon scanner. "usb /dev/usb/scanner0" (or other device file) Some systems use a kernel driver to access usb scanners. This method is untested. Besides the 'scsi' and 'usb' lines, the configuration file supports the following 'option' lines: "option buffer-size [number of bytes]" Set the number of bytes in the data buffer to something other than the compiled−in default of 4MB. Large values may cause timeouts or hangs, small values may cause slow scans. Note: The backend does not place an upper bound on this value, as some users required it to be quite large. Values above the default are not recommended, and may crash your OS or lockup your scsi card driver. You have been warned. "option vendor-name [string of text]"
"option model-name [string of text]"
"option version-name [string of text]" These options can be used collectively to override the values provided by the scanner, or to provide the values when the scanner cannot. "option padded-read [0|1]" Some scanners prepend all data transmitted to host with 12 bytes. Enable this option if the scanner fails to respond to commands. "option duplex-offset [integer]" Some scanners pad the upper edge of one side of a duplex scan. There is some variation in the amount of padding. Modify this option if your unit shows an unwanted band of image data on only one side. NOTE: "option" lines may appear multiple times in the configuration file. They only apply to scanners discovered by the next 'scsi/usb' line.
ENVIRONMENTThe backend uses a single environment variable, SANE_DEBUG_CANON_DR, which enables debugging output to stderr. Valid values are: 5 Errors
10 Function trace
15 Function detail
20 Option commands
25 SCSI/USB trace
30 SCSI/USB detail
35 Useless noise
KNOWN ISSUESThis backend was entirely reverse engineered from usb traces of the proprietary driver. Various advanced features of the machines may not be enabled. Many machines have not been tested. Their protocol is unknown.
CREDITSThe various authors of the sane−fujitsu(5) backend provided useful code.
Yabarana Corp. www.yabarana.com provided significant funding.
EvriChart, Inc. www.evrichart.com provided funding and loaned equipment.
Canon, USA. www.usa.canon.com loaned equipment.
HPrint hprint.com.br provided funding and testing for DR-2510 support.
Stone-IT www.stone-it.com provided funding for DR-2010 and DR-2050 support.
Gerhard Pfeffer provided access and testing for P-208 and P-215.
Special thanks to: Alejandro Imass, Andre Shimakawa, Martijn van Brummelen, Thanos Diacakis and Junren Shi for testing and feedback.
SEE ALSOsane(7), sane−scsi(5), sane−usb(5)
AUTHORm. allan noah: <kitno455 a t gmail d o t com>. 0
Johanes Gumabo
Data Size : 18,007 byte
man-sane-canon_dr.5Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 201,152
Visitor ID : :
Visitor IP : 18.117.105.184 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|sane-canon_dr.5|2|IX|.IX sane\-canon_dr
)