Binary plug-in is installed successfully, but not progress possible
Hi all,
I have a brandnew OpenSUSE Leap 15.2 installation and want to connect my HP MFP277dw which is connected via LAN. After starting hp-setup and entering the IP address, the printer is recognized correctly. It is mentioned that a binary plug-in is required which then is successfully downloaded (at least the message after accepting the license and entering the root password says so).
When pressing the "Next" button, hp-setup again complains that a binary plug-in was required.
I'm ending up in a loop.
I can provide the output of hp-check if needed.
For information: In OpenSUSE Leap 15.1, hp-setup used to work for both the printer and the scanner.
What shall I do?
Best regards
Harald
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Harald Harders
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
> What shall I do?
Are you absolutely dead set on setting up printing and scanning
with HPLIP? If so, I'll go away and not give you an alternative.
Revision history for this message
|
#2 |
Hi Brian,
I'm not sure whether I get the point in your e-mail. I've opened the
issue with the web interface which did not allow attachments. I did not
want to paste the hp-check output. Please find attached the output of
"hp-check" (hp-check.log).
Which additional information do you need?
Best regards
Harald
Am 21.01.21 um 20:45 schrieb brian_p:
> Your question #695132 on HPLIP changed:
> https:/
>
> Status: Open => Needs information
>
> brian_p requested more information:
>> What shall I do?
> Are you absolutely dead set on setting up printing and scanning
> with HPLIP? If so, I'll go away and not give you an alternative.
>
Revision history for this message
|
#3 |
Apparently, attachments are also not possible via the mail interface. Please find the output of "hp-check" here: http://
Installed hplip version is hplip-3.
Revision history for this message
|
#4 |
Give what you get for
avahi-browse _ipp._tcp
and
avahi-browse _uscan._tcp
Revision history for this message
|
#5 |
I've tried both commands (as user and as root) but get no result back. Apparently, both end in a loop waiting for something which does not happen. I've quit after roughly ten minutes.
Revision history for this message
|
#6 |
Apparently, the printer is found in the first place because it is identified correctly.
Do you have any additional idea which I could try out?
Revision history for this message
|
#7 |
Typos!
avahi-browse -rt _ipp._tcp
avahi-browse -rt _uscan._tcp
Revision history for this message
|
#8 |
Both don't return any text but end immediately:
harders@lose:~> avahi-browse -rt _ipp._tcp
harders@lose:~> avahi-browse -rt _uscan._tcp
harders@lose:~>
Am 22.01.21 um 01:41 schrieb brian_p:
> Your question #695132 on HPLIP changed:
> https:/
>
> Status: Open => Needs information
>
> brian_p requested more information:
> Typos!
>
> avahi-browse -rt _ipp._tcp
> avahi-browse -rt _uscan._tcp
>
Revision history for this message
|
#9 |
What should be the output of these two command lines?
Revision history for this message
|
#10 |
harders@lose:~> avahi-browse -vrt _ipp._tcp
Server-Version: avahi 0.7; Rechnername: lose.local
E Ifce Prot Name Typ -Domain
: Datencache erschöpft
: Alle Einträge bisher
harders@lose:~> avahi-browse -vrt _uscan._tcp
Server-Version: avahi 0.7; Rechnername: lose.local
E Ifce Prot Name Typ -Domain
: Datencache erschöpft
: Alle Einträge bisher
harders@lose:~>
Sorry for the German output.
Revision history for this message
|
#11 |
I've tried a manual download of version 3.19.12 (which was the one hp-setup demanded) from https:/
I've searched on my harddisk and only found the two downloaded versions in my home directory. No sign that it has been installed anywhere.
lose:~ # find / -name "hp*run*"
/home/harders/
/home/harders/
/home/harders/
lose:~ #
Revision history for this message
|
#12 |
It should be possible to manually in0tasll the plugin by executing
sh hplip-3.
You should select the plugin installer with the same version number as the HPLIP version that you already have installed.
Revision history for this message
|
#13 |
> What should be the output of these two command lines?
The printer is queried over the LAN and should return a list of
its capabilities, The Color LaserJet Pro MFP M277dw is an AirPrint
device; not getting an output is concerning.
Revision history for this message
|
#14 |
@Manfred:
Direct launch of the plugin file does not work (neither as user nor as root):
harders@
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.12 Plugin Self Extracting Archive.
Error importing HPLIP modules. Is HPLIP installed?
harders@
That's strange. On the one hand side, hp-setup and hp-plugin know which HPLIP version is installed and which plugin version they expect. On the other hand, the plugin itself does not recognize HPLIP.
And it's also strange that hp-setup states that the plugin was installed successfully when installing via hp-setup.
@brian:
Is it possible to specify a specific IP address for avahi-browse? Couldn't find any in the man page.
The reason I am asking is that hp-setup does not find the printer either unless I explicitly specify the IP address. If I specify the IP address it recognizes the printer name correctly.
Revision history for this message
|
#15 |
> Is it possible to specify a specific IP address for avahi-browse? Couldn't
> find any in the man page.
No, and it shouldn't be needed because avahi-daemon should take care of
things. I am unfamiliar with OpenSUSE but, just maybe, you have a network
issue. Also, bear in mind that Manfred and I are coming at this problem from
different directions.
Ok, you have the IP address of the printer, so it has a URI of
ipp:/
Substitute this in
lpadmin -p 277dw -v "URI" -E -m everywhere
and try printing with
lp -d 277dw /etc/nsswitch
Revision history for this message
|
#16 |
Hi Brian,
Please excuse if I wasn't precise enough in my problem description. I need HPLIP for using the scanner of my HP printer (and if using HPLIP for scanning, I would use it for printing as well). Printing has already worked previously using CUPS.
As far as I know there's no way around HPLIP for using the scanner, right?
I'm not aware of any network issues. Everything else works (access to NFS server, media server, printing via CUPS, browing, etc.). Also with the previous OpenSUSE version (Leap 15.1), hp-setup did not find the printer without specifying the IP address. But then it worked.
Would there be any chance to fix something by configuring the avahi daemon?
My /etc/avahi/
[server]
use-ipv4=yes
use-ipv6=yes
ratelimit-
ratelimit-
[wide-area]
enable-
[publish]
publish-hinfo=no
publish-
[reflector]
[rlimits]
/etc/avahi/hosts is existing but empty.
Do you have any idea what could be changed in these files?
Revision history for this message
|
#17 |
I gave
lp -d 277dw /etc/nsswitch
There a typo here. Use
lp -d 277dw /etc/nsswitch.conf
> Please excuse if I wasn't precise enough in my problem description. I need
> HPLIP for using the scanner of my HP printer...
You probably don't need HPLIP for scanning. Not having avahi browse outputs
makes it diffucult to be certain. Please try printing as indicated. Success or not
might indicate a way forward for scanning.
> Would there be any chance to fix something by configuring the avahi
> daemon?
My experience is that the default configuration is sufficient.
Revision history for this message
|
#18 |
Okay.
Following result:
lose:~ # lpadmin -p 277dw -v "ipp://
lp -d 277dw /etc/nsswitch.conf
Anfrage-ID ist 277dw-2 (1 Datei(en))
Printing out this file works fine. Now I have two completely different entries in /etc/cups/
BTW, I have tested to scan when the printer is connected by USB using sane. Installed by Yast2, I don't know which mechanism is used by this GUI. Scanning via USB works fine, but USB is no option for me. I don't know how to re-connect to network connection.
Do you have any idea how scanning via network can be enabled based on that?
Revision history for this message
|
#19 |
> Printing out this file works fine.
Driver printing works. HPLIP is not needed, but you may, if you wish,
delete that queue with
lpadmin -x 277dw
> Do you have any idea how scanning via network can be enabled...
Download sane-airscan from
https:/
https:/
Please give what you get for
scanimage -L
and
airscan-discover
Revision history for this message
|
#20 |
Installing sane-airscan worked fine.
The outputs of the two commands are:
lose:~ # scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
lose:~ # airscan-discover
[devices]
lose:~ #
Thus the scanner is not found automatically. I'm not surprised because also hp-setup needed the IP address explicitly to find the MFP.
Based on that I had the idea to add the scanner to /etc/sane.
...
[devices]
"HP MFP M277dw Scanner" = http://
...
I just didn't know whether port, path and protocol are right.
This results in
lose:~ # scanimage -L
device `airscan:e0:HP MFP M277dw Scanner' is a eSCL HP MFP M277dw Scanner ip=192.168.1.6
lose:~ # airscan-discover
[devices]
lose:~ #
Apparently, scanimage -L only copies the content from the config so that either path, port, or protocol are incorrect.
lose:~ # scanimage > test.pnm
Output format is not set, using pnm as a default.
scanimage: open of device airscan:e0:HP MFP M277dw Scanner failed: Error during device I/O
lose:~ #
Might this depend on an incorrect port? Or is it another issue?
Unfortunately, the printer does not provide this information using its http interface (http://
I just found something else by accident:
lose:~ # scanimage -d hpaio:/
or
harders@lose:~> export SANE_DEFAULT_
harders@lose:~> scanimage > asdf.pnm
do work. I guess this did not depend on sane-airscan. Right?
Thus, the scanner does actually work if accessed explicitly. I don't understand why still tools like xsane or skanlite do not work even if SANE_DEFAULT_DEVICE is set.
That's now my next task to explore...
I guess this slowly gets off topic here. Please let me know whether I should mark this thread as "Problem Solved" now or whether you have additional ideas for me.
Revision history for this message
|
#21 |
Based on that I had the idea to add the scanner to /etc/sane.
...
[devices]
"HP MFP M277dw Scanner" = http://
Change the port to 8080 and try again.
Revision history for this message
|
#22 |
That's it! Thank you.
Let me write a short conclusion for other users which might have the same issue (looking at scan function only). Same order should be tried.
Approach 1:
- Run hp-setup. If this fails:
Approach 2:
- Install sane-airscan
- Add scanner to /etc/sane.
[devices]
"HP MFP M277dw Scanner" = http://
Port 8080 and protocol eSCL have to be guessed...
- Test with "scanimage > test.pnm" (scanimage -L is pointless because it just copies the configuration).
Approach 3:
- Run scanimage without any configuration:
scanimage -d hpaio:/
Alternatively, SANE_DEFAULT_DEVICE can be set accordingly.
- I could not find a solution to make xsane and simple-scan work that way.
Approach 4:
- Connect scanner with USB port.
Revision history for this message
|
#23 |
> That's it! Thank you.
Glad to have helped, Harald. Your work and information shows that
the printing and scanning systems are really not an issue. However. I
still think in terms of a network issue, particularly as avahi-browse
does not work. Looking at the firewall setup could be productive.