scanimage fails with --mode lineart

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

scanimage fails with --mode lineart

Erik P. Olsen
I issue the following scanimage command from a perl script but it comes
out as all black:

scanimage("-x 210mm -y 297mm --mode Lineart -d avision:/dev/sg0 | lpr -o
page-left=0 -o page-right=0 -o page-top=0 -o page-bottom=0 -o
media=A4");

If I change Lineart to Gray or Color then the scan performs OK. Am I
doing something wrong or should I file a bug report?

Scanner: hp scanjet 7400c
OS: Linux Fedora Core 3
Sane:
sane-backends-1.0.15-9.i386.rpm
sane-backends-devel-1.0.15-9.i386.rpm
sane-frontends-1.0.13-2.i386.rpm

--
Regards,
Erik P. Olsen
GPG http://pgp.mit.edu 0x71375E63

signature.asc (196 bytes) Download Attachment