Sane 0.69

Itai Nahshon (nahshon@actcom.co.il)
Thu, 05 Feb 1998 04:07:45 +0200

Here are parts of an Email that I sent to Matto Marjanovic. He
recommended that I send them to this mailing list... Matto already
promissed to check the Microtek specific part.

First, Congratulations. sane-0.69 is the first version which is I could
use both with the Gimp and as a stand alone program.

Here is my bug list:

Microtek specific (inherited from mtekscan-0.2), tested on ScanMaker E6:
1. MIdtone level is useful in line-art. Why is is hidden? (actually I am
not sure about its effect in other modes).

2. If the Black level is higher than the white level the scanner
confuses
and the program gets hung. I had to reboot in that case...

General:
3. Resizing the preview window made a big mess....
(the preview window code probably needs more fixes).

Cosmetic:
4. A few times it happened that the tooltips window popped up at the
same time that I hit the mode select button. In that case I expect
the
tooltips windoe to disappear immediately. What really happens is that
the tooltips window hangs over the mode that I want to select and I
have to clich somewhere else and try again. Very annoying.
Turning off tooltifs fixes the problem.

5. Please Use "Line Art" and not "Lineart".

I attach a small program that I used with mtekscan-0.2 and I now use
with xscanimage. Since I usually keep the scanner turned off I need
to tell the system to look for it. Also it may show up either at
/dev/sga or at /dev/sgb and a symbolic link has to be generated for it.
This program is hard-wired for my system but it is simple enough to
change. That script has to be modified to match a particular system.

Itai

-- 
Itai Nahshon   nahshon@actcom.co.il
        Also   nahshon@vnet.ibm.com

#! /bin/csh -f

set host=0 set channel=0 set id=4 set lun=0

modprobe -k scsi_hostadapter echo "scsi add-single-device $host $channel $id $lun" > /proc/scsi/scsi

set a=("`cat /proc/scsi/scsi`") set dev=0 set x=0 while($#a) if( "${a[1]}" =~ *Vendor* ) then @ x++ endif if( "${a[1]}" =~ *MICROTEK*ScanMaker* ) then set dev = $x endif shift a end

if($dev == 0) then echo "Did not find a Microtek ScanMaker type scanner" exit 1 endif

set chars=(a b c d e f g h) set name = "sg${chars[$dev]}"

rm -f /dev/scanner ln -s $name /dev/scanner exit 0

-- 
Itai Nahshon   nahshon@actcom.co.il
        Also   nahshon@vnet.ibm.com

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com