View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000496 | Sane for OS/2 & eComStation | Bug | public | 2011-11-19 23:02 | 2020-08-24 03:13 |
Reporter | asavage | Assigned To | psmedley | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
OS | OS/2 | OS Version | W4 FP17 | ||
Summary | 0000496: SANE 1.0.22: "unrecognized option `--lamp-off'" | ||||
Description | On 08Dec, 2004, Henning Meier-Geinitz took on a feature request of mine, to allow my scanner to have its lamp turned off and scan head parked when requested. He added the feature in the mustek backend, v1.38: 2005-05-05: * Released Mustek backend 1.0-138 * Added options to set the time after which the lamp of the A3 Pro is shut off and to shut it off immediately. I somehow acquired these files, which incorporated the feature: scanimage .exe 53,295 .a.. 5-09-05 libsane .dll 109,724 .a.. 5-09-05 [d:\SANE]scanimage -V scanimage (sane-backends) 1.0.15; backend version 1.0.15 scanimage --lamp-off --dont-scan [result: scanner turns off lamp and parks] ================================= However, this does not work for the newer scanimage.exe: [D:\tame]scanimage -V scanimage (sane-backends) 1.0.22; backend version 1.0.22 D:\tame]scanimage --lamp-off --dont-scan scanimage: unrecognized option `--lamp-off' | ||||
Tags | No tags attached. | ||||
|
Looking at the code, the feature seems to only be enabled for one specific model of scanner: 1200 A3 PRO What is your scanner detected as? |
|
"1200 A3 PRO" is the model of my scanner First, the old (working) version: [D:\tame\old]scanimage -V scanimage (sane-backends) 1.0.15; backend version 1.0.15 [D:\tame\old]scanimage -L device `mustek:b0t6l0' is a Mustek 1200 A3 PRO flatbed scanner device `test:0' is a Noname frontend-tester virtual device device `test:1' is a Noname frontend-tester virtual device The current version: [D:\tame]scanimage -V scanimage (sane-backends) 1.0.22; backend version 1.0.22 [D:\tame]scanimage -L device `pixma:MX860_192.168.0.104' is a CANON Canon PIXMA MX860 multi-function p eripheral device `mustek:b0t6l0' is a Mustek 1200 A3 PRO flatbed scanner device `test:0' is a Noname frontend-tester virtual device device `test:1' is a Noname frontend-tester virtual device |
|
I found the problem. Back in the day, we had only one scanner that scanimage could find: the Mustek. Unless specified, scanimage sends commands to the backend of the first scanner it finds. I moved in with someone who has another scanner on the network: the Canon Pixma MX860 listed above. The Pixma comes up first in the list of scanners found. scanimage sends the "--lamp-off --dont-scan" command to the first scanner it found, and the Pixma backend replies, "I don't know what you're talking about". Solution: specify which scanner on the commandline: [D:\sane]scanimage -d mustek --lamp-off --dont-scan [turns off lamp & parks] It was operator error all along. This can be closed. Thanks. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-11-19 23:02 | asavage | New Issue | |
2011-12-17 23:26 | psmedley | Note Added: 0002067 | |
2011-12-18 23:03 | asavage | Note Added: 0002068 | |
2013-02-10 20:04 | asavage | Note Added: 0002406 | |
2013-02-10 23:49 | asavage | Note Edited: 0002406 | |
2013-02-17 08:44 | psmedley | Status | new => resolved |
2013-02-17 08:44 | psmedley | Resolution | open => no change required |
2013-02-17 08:44 | psmedley | Assigned To | => psmedley |
2020-08-24 03:13 | psmedley | Status | resolved => closed |