sane and gimp

tim drummer (tim@nrb119c.physics.fsu.edu)
Thu, 12 Feb 1998 11:03:01 -0500 (EST)

i am having trouble getting the gimp to use the SANE xscaninmage
software as a plug-in. however, before i explain the problem, please let
me relate the success i have had!

last night i purchased a umax astra 1200S scanner. i connected it to my
zip zoom card via the zip zoom drive itself and then terminated at the
scanner. this is a particualrly nice arrangement since the scanner is a 25
pin connector and so is the zip zoom.

one item of difficulty is that the scanner is preset to ID 5 as is the zip
drive and it was easier to change the ID on the zip drive. however, when
booted with this configuration, the scanner shows up as /dev/sga using
find-scanner and upon trying to start a scan the whole system crashes ( i
should mention that my primary hard drive is on separate AHA 2940UW
controller) forcing a hard reset. upon swapping the SCSI ID's, the scanner
is now sgc and it works fantastically! i had the setup working using
xscanimage in under an hour.

now to the problem: i compiled sane 0.70 without any problems, made the
symlink in my ~/.gimp/plug-ins directory to xscanimage as per the man
page, however upon starting the gimp (0.99.18) i get the following output:

tim@nrb119c: /home/tim>gimp
query plug-in: "/home/tim/.gimp/plug-ins/xscanimage"
/home/tim/.gimp/plug-ins/xscanimage: illegal option -- g
Usage: xscanimage [OPTION]... [DEVICE]

Start up graphical user interface to access SANE (Scanner Access Now
Easy) devices.

-h, --help display this help message and exit
-V, --version print version information
wire_read: unexpected EOF
writing "/home/tim/.gimp/pluginrc"
Starting extensions:

i found a previous article in the SANE discussion archive from someone
having a similar problem and the recommendation was to make sure that the
gimp header file is being seen when SANE is compiled. i ran
make distclean

and

./configure.

i find: checking for libgimp/gimp.h... yes

then

make

and make install

everything appears to compile ok, yet the problem persits. sure would be
nice to scan directly into the gimp.

any suggestions??

thanks!

tim

===================================================================
Any man can deal with adversity. A real test of character is to put
someone in a position of power.
-- Abraham Lincoln
An optimist believes we live in the best of all possible worlds. A
pessimist fears he is right.

http://nrb119c.physics.fsu.edu/~tim

Tim Drummer

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