Scanner Source Issue #813
DanielRiek
started this conversation in
General
Replies: 2 comments 5 replies
-
|
I know you wrote without changing the code.... But my dirty fix was to edit the Line 130 in scan.py to: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Or updating the |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have an issue using your script, because my scanner does not understand the "--source ADF" command. Is there any way to change this without changing the code? Furthermore even when using --mode multi (resulting in omitting the source option) I get the following error from scanimage:
"scanimage: output is not a file, exiting"Options specific to device net:127.0.0.1:canon_dr:libusb:001:002':
Standard:
--source ADF Front|ADF Duplex [ADF Front]
Selects the scan source (such as a document-feeder).
--mode Lineart|Gray|Color [Gray]
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..215.872mm (in steps of 0.0211639) [215.872]
Specifies the width of the media. Required for automatic centering of
sheet-fed scans.
--page-height 0..355.554mm (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) [inactive]
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
--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
Sensors:
Beta Was this translation helpful? Give feedback.
All reactions