et wrote:

>On Sunday 22 September 2002 12:42 pm, you wrote:
>
>>Dear All,
>>
>>I really do not know if there is a connection but since I got my scanner
>>working I cannot get Gimp to open anymore. It starts to and stops at
>>/usr/lib/gimp-1.2plugins/miff or something close to this.  The scanner
>>works with the lib gimp plugin now , with xsane and with kooka. I am
>>pleased about this since I had to apply the niash patch to the
>>sane-backend as well as do some configuration to get my unsupported
>>HP4300c scanjet (USB) working. Does anyone know how I can get the gimp
>>to work again?
>>
>>Thanks for the help.
>>
>>Marcia
>>
>I bet everyone would love to hear how you got the scanner to work, and maybe 
>someone in the future will read the archives and be able to get their scanner 
>working too... so... how did you do it?
>

First of all my Gimp opens just fine now. It seemed to resolve itself. 
Thank you all for your help.

To get my HP 4300c to work:

I got the testtool which contains the patch script for the sane-backend 
from http://sourceforge.net/projects/hp3300backend/. On this page you 
can find the forum which provided most of the help for me.

Here is my account of how I got my HP 4300c usb scanner to work.  To 
patch SANE do the following:

1) Download and unpack the testtool and sane-backends source packages
2) Copy to usr/local/src
2) install libusb: 
http://prdownloads.sourceforge.net/libusb/libusb-0.1.5.tar.gz
 usb.h comes from libusb0.1.5, make sure you uninstalled libusb0.1.4 
with no deps. Then do any make uninstall of libusb0.15, and the 
./configure , make, su to root and make install.
 YOU WILL need to run ./configure | make | make install again on 
sane-backends-1.0.8 AFTER reinstalling libusb-0.1.5 !
3) Unpacking the testtool package is done by:
tar -xzvf testtool-20020816_1.tar.gz
which creates a directory 'testtool' with some files in it, including 
the readme. Run make in the testtool directory.
4) Go to the testtool directory and patch sane-backends:
./patch-sane.sh ~/sane-backend-1.0.8
 the patch script should be run with the path to the sane-backends 
sources as an argument.
In my case it was:
./patch-sane.sh /usr/local/src/sane-backends-1.0.8
(substitute the proper sane-backend directory)
5) Go to the sane-backend directory and build sane-backends:
./configure
make
make install
 
It is  suggested to first try the testtool before trying to make SANE work.

In addition to the directions above,  I  copied some of the niash 
specific binaries to a directory belonging to an already installed sane 
rpm. Then I added niash to the dll.conf file and ran ldconfig. This way 
I did not have to uninstall the sane that was already setup.

Here are the steps for this below:

    1) copied backend/.libs/libsane-niash.so.1.0.8 to /usr/lib/sane
    2) made some symlinks in /usr/lib/sane named libsane-niash.so.1 and 
libsane-niash.so pointing to the file just copied.
    3) added niash to /etc/sane.d/dll.conf
    4) ran ldconfig
    5) changed /dev/usbscanner in niash.conf to /dev/usb/scanner0- if 
your device is a different name then you would use that name instead of 
/dev/usb/scanner0.

I hope this is complete. There is alot of help from sourceforge and 
other instructions if you want to install another method. The author of 
testtool promptly answered my questions in the forum. This testtool also 
works for HP 3300c, HP 3400c, and the Agfa Touch. The one problem I am 
still having is my image is stretched which the author told me is 
supposed to be fixed so I am waiting for an answer about this right now. 
If anyone gets their HP scanner running and does not have a stretched 
image please let me know. Otherwise I am very pleased to have it working 
so well.

Sincerely,

Marcia



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to