Dariusz Piatkowski
2012-03-11 22:55:44 UTC
Hi Everyone!
I have been using Tame/2 1.0.5 (20070112) with my HP ScanJet 6390C (SCSI
processor "HP C7670A 3945" at b1t3l0) for quite some time now. It has been
working reliably, however, I noticed that Paul Smedley had a newer drop of SANE
(1.0.22) so I decided to upgrade.
Specifically, I took the latest EXEs and dropped them into the Tame/2 install
directory (along with the updated conf files, etc, etc - I then re-configured
hp.conf to recognize my scanner). This however has resulted in a creation of a
problem, which I'm hoping can be addressed.
The Tame/2 GUI allows me to select 'Grayscale' as one of the scanning options.
This was previously working fine with the delivered version of SANE (1.0.16),
however fails with 1.0.22.
TAME.LOG contains the following entry:
=== START ===
Start: 11 Mar 2012 16:02:26
Job: Scan to file
Command1: START /MIN /C SCANIMAGE.EXE -d hp --mode Grayscale --resolution 150
--format=tiff -l 0 -t 0 -x 215 -y 296 > G:\tmp\scanner\Image019.tif
Error: Size of image is 0 bytes. Check Sane installation or increase delay
time in Settings.
Warning: Job canceled by user!
End: 11 Mar 2012 16:02:41
=== STOP ===
...executing this directly from command line produces:
=== START ===
[G:\apps\graphics\tools\tame]SCANIMAGE.EXE -d hp --mode Grayscale --resolution 1
50 --format=tiff -l 0 -t 0 -x 215 -y 296 > G:\tmp\scanner\Image019.tif
SCANIMAGE.EXE: setting of option --mode failed (Operation not supported)
=== STOP ===
...researching further it appears that '--mode Grayscale' is no longer valid (see
URL => http://www.sane-project.org/man/scanimage.1.html)
=== START ===
All options specific to device `hp':
Scan Mode:
--preview[=(yes|no)] [no]
Request a preview-quality scan.
--mode Lineart|Halftone|Gray|Color [Lineart]
Selects the scan mode (e.g., lineart, monochrome, or color).
--resolution 12..3200dpi (in steps of 1) [300]
Sets the resolution of the scanned image.
=== STOP ===
So basically, it looks like Tame/2 1.0.5 is passing the wrong scan mode
argument, 'grayscale' instead of 'gray'.
Does anyone know how to control/define this? I see that TAME.INI file has
options for both...however only the 'wrong' value shows up in my install...short
of wiping out the INI file and re-trying (which is what I'll probably do next)
is there anything else that I can try?
Thanks!
I have been using Tame/2 1.0.5 (20070112) with my HP ScanJet 6390C (SCSI
processor "HP C7670A 3945" at b1t3l0) for quite some time now. It has been
working reliably, however, I noticed that Paul Smedley had a newer drop of SANE
(1.0.22) so I decided to upgrade.
Specifically, I took the latest EXEs and dropped them into the Tame/2 install
directory (along with the updated conf files, etc, etc - I then re-configured
hp.conf to recognize my scanner). This however has resulted in a creation of a
problem, which I'm hoping can be addressed.
The Tame/2 GUI allows me to select 'Grayscale' as one of the scanning options.
This was previously working fine with the delivered version of SANE (1.0.16),
however fails with 1.0.22.
TAME.LOG contains the following entry:
=== START ===
Start: 11 Mar 2012 16:02:26
Job: Scan to file
Command1: START /MIN /C SCANIMAGE.EXE -d hp --mode Grayscale --resolution 150
--format=tiff -l 0 -t 0 -x 215 -y 296 > G:\tmp\scanner\Image019.tif
Error: Size of image is 0 bytes. Check Sane installation or increase delay
time in Settings.
Warning: Job canceled by user!
End: 11 Mar 2012 16:02:41
=== STOP ===
...executing this directly from command line produces:
=== START ===
[G:\apps\graphics\tools\tame]SCANIMAGE.EXE -d hp --mode Grayscale --resolution 1
50 --format=tiff -l 0 -t 0 -x 215 -y 296 > G:\tmp\scanner\Image019.tif
SCANIMAGE.EXE: setting of option --mode failed (Operation not supported)
=== STOP ===
...researching further it appears that '--mode Grayscale' is no longer valid (see
URL => http://www.sane-project.org/man/scanimage.1.html)
=== START ===
All options specific to device `hp':
Scan Mode:
--preview[=(yes|no)] [no]
Request a preview-quality scan.
--mode Lineart|Halftone|Gray|Color [Lineart]
Selects the scan mode (e.g., lineart, monochrome, or color).
--resolution 12..3200dpi (in steps of 1) [300]
Sets the resolution of the scanned image.
=== STOP ===
So basically, it looks like Tame/2 1.0.5 is passing the wrong scan mode
argument, 'grayscale' instead of 'gray'.
Does anyone know how to control/define this? I see that TAME.INI file has
options for both...however only the 'wrong' value shows up in my install...short
of wiping out the INI file and re-trying (which is what I'll probably do next)
is there anything else that I can try?
Thanks!