Comment 52 for bug 1847142

Revision history for this message
Francis Hauber (francis-hauber-s) wrote :

Hi all,
I went through this about a year ago and what I remember that all this scanner needs to work with sane is to find two libs in /usr/lib/x86_64-linux-gnu/sane:
- hpgt2500_ntdcmsdll-x86_64.so
- libsane-hpgt2500-x86_64.so.1.0.27
It doesn't even need to install hplip (that wasn't working for me anyhow)

To extract those files download "hplip-3.21.2-plugin.run (or newer version) here:
https://developers.hp.com/sites/default/files/hplip-3.21.2-plugin.run
Then change attribute for execution permission:
chmod +x hplib-3.21.2-plugin.run
Then run:
./hplip-3.21.2-plugin.run --target hplip-plugin
Go to newly created hplip-plugin directory and you will find the two libs.
Copy those libs to sane lib directory:
sudo cp hpgt2500_ntdcmsdll-x86_64.so /usr/lib/x86_64-linux-gnu/sane
sudo cp libsane-hpgt2500-x86_64.so.1.0.27 /usr/lib/x86_64-linux-gnu/sane
Go to sane libs directory:
cd /usr/lib/x86_64-linux-gnu/sane
nd Create the symbolic links with version:
sudo ln -s libsane-hpgt2500-x86_64.so.1.0.27 libsane-hpgt2500-x86_64.so
sudo ln -s libsane-hpgt2500-x86_64.so.1.0.27 libsane-hpgt2500-x86_64.so.1

Done.

Best regards,
Francis