HP M182nw not working correctly with Manjaro 23

Asked by Judah Kocher

I purchased an HP M182nw Color Laser printer expressly because it was recommended in multiple places as a good choice for Linux compatibility.
I have it setup on a subnet with other infrastructure that is separate from the two subnets that end user devices will print from. I have no issues printing to it from a Windows device, but my Manjaro primary system simply will not work. I can browse to the webpage, and I can add it via HP Device Manager, but it always reports its status as "Device is busy, powered down, or unplugged", although the device is not busy, is powered on, and definitely not unplugged.
I have triple checked that all ports mentioned in the help documentation are open between my laptop and the printer, and even allowed all traffic through the firewall between the two hosts, with no change in results.
I am running HPLIP Software Version 3.23.5, Device Manager Version 15.0

When I run hp-check I see
1: warning: HPLIP-Installation: Auto installation is not supported for 26 distro 23.0 version
2: A number of warnings about being unable to locate a theme engine which seems to be xsane related
3: Under 'Installed CUPS Printer Queues' I get:
HP_ColorLaserJet_MFP_M182-M185
------------------------------
Type: Printer
Device URI: hp:/net/HP_ColorLaserJet_MFP_M182-M185?ip=123.456.789.101<The correct address has been modified to this random and impossible value>
PPD: /etc/cups/ppd/HP_ColorLaserJet_MFP_M182-M185.ppd
PPD Description: HP ColorLaserJet MFP M182-M185 Postscript (recommended)
Printer status: printer HP_ColorLaserJet_MFP_M182-M185 is idle. enabled since Fri 18 Aug 2023 10:19:13 PM EDT
Communication status: Good
4: At the end "No errors or warnings. Done"
Due to the final message I am unsure that there is any issue.

When I run hp-doctor I see
1: Checking for Deprecated items....
error: This distro (i.e manjarolinux 23.0) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):

2: After selecting y, I get this error: 'Failed to upgrade latest HPLIP. Is hp-upgrade already running (i.e. foreground or background)?'
Research seems to show that this is not anything that needs to be concerned about.

3: Only other potential issue is at the end:
--------------
| PERMISSION |
--------------

Checking for Configured Queues....
Traceback (most recent call last):
  File "/usr/bin/hp-doctor", line 328, in <module>
    queues.main_function(dep.core.passwordObj, MODE,ui_toolkit, False, DEVICE_URI)
  File "/usr/share/hplip/base/queues.py", line 338, in main_function
    mapofDevices,status = parseQueues(mode)
                          ^^^^^^^^^^^^^^^^^
  File "/usr/share/hplip/base/queues.py", line 115, in parseQueues
    if device_uri.startswith("cups-pdf:/"):
       ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'startswith'

I have not gotten anywhere with this.

If I start HP Device Manager and go to "Printer Control" and look under "Printer Queue Control" everything looks fine. A green light next to "Started/Idle", and another green light next to "Accepting Jobs".
However, there is a Red X next to the Printer Icon on the left column,
If I look under Status I see the same Red X and "Device is busy, powered down, or unplugged" Code 5002

If I click "Stop Printer" and then "Start Printer" on the Printer Control Page the red X disappears, but if I go to the Actions tab and click "Print Test Page" then I an error window that says "Unable to communicate with printer HP_ColorLaserJet_MFP_M182-M185. Please check the printer and try again."

I can ping the printer, I can open the printer web page. I can even start a Windows Guest in VirtualBox and print from there! Why does the Manjaro software insist that the printer is unavailable when it obviously is not and what can I do to get this printer to function communicate correctly with my Liux device?

Thank you,

Question information

Language:
English Edit question
Status:
Open
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
brian_p (claremont102) said :
#1

> Device URI: hp:/net/HP_ColorLaserJet_MFP_M182-M185?ip=123.456.789.101
> <The correct address has been modified to this random and impossible value>

Give the output of

  lpinfo -v

What is the printer's IP address?

Revision history for this message
Judah Kocher (kocherjj) said :
#2

$ lpinfo -v
network nxprint
network https
network http
file cups-pdf:/
file cups-brf:/
network beh
network lpd
network ipp
network ipps
network socket
direct hp
network smb
direct hpfax

The printers IP address has been intentionally redacted as noted above.

Revision history for this message
brian_p (claremont102) said :
#3

The output does not show *any* URI for the printer. CUPS does not know
where it is using this discovery command. Not good. Try this:

  lpadmin -p M182 -v ipp://123.456.789.101/ipp/print -E -m everywhere

A PPD should be put into /etc/cuups/ppd (M182.ppd). Print to M182.

Revision history for this message
Judah Kocher (kocherjj) said :
#4

This file was already in /etc/cups/ppd

    HP_ColorLaserJet_MFP_M182-M185.ppd

It is placed there when I add the printer via HP Device Manager or via hp-setup, and removed when I delete the printer in HP Device Manager

I went ahead and ran the command suggested, and this added M182.ppd to that directory. It did not create a another printer in HP Device Manager, but in Manjaro Print Settings I now have a M182 that successfully prints. So I am able to priont using the printer, but still have the issue where I cannot use HP Device Manager to manage it.

Revision history for this message
brian_p (claremont102) said :
#5

Before the given answer: no printing possible.
After the given answer: printing possible.

In my book this issue is solved.

The solution does not use HPLIP. What does Device Manager give you?

Revision history for this message
Judah Kocher (kocherjj) said (last edit ):
#6

I was directed here to troubleshoot issues with HPLIP, HPs official Linux/Printer integration software. Since it is still not working, I do not consider the issue resolved. I would assume that HP would only bother to build their own software to manage their printers if it added something to the built in Linux drivers.

If this is not the case and HPLIP is just eye candy, I certainly don't want to waste any more time on it, but I would not assume that after a few hours of being able to use my printer I can be certain that it does everything it can do when using the official software and would be quite curious to know why that software even exists if it doesn't add any functionality.

Revision history for this message
brian_p (claremont102) said :
#7

I can accept that the issue is not considered to be resolved, but not
that it has not been given a working answer. Removing the answered
tag leaves the question open. Open questions are closed after some
time.

Revision history for this message
Judah Kocher (kocherjj) said (last edit ):
#8

I have been able to print from Manjaro using the hack provided that bypasses the HPLIP software that is failing to function correctly.

However, I just discovered that I cannot scan because Manjaro does not detect the HP device as a scanner. All HP documentation points me back to using HPLIP to access scan functionality, so I'm right back to square 1. Is there a similar hack to get the scanner working, and if not, since this is allegedly the official support site for HPLIP, can someone respond who can assist with getting the software to function as advertised?

Revision history for this message
Launchpad Janitor (janitor) said :
#9

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Judah Kocher (kocherjj) said :
#10

I see this was marked as expired because it has seen no activity.
The issue remains, and my understanding is that this is the official support location for HP Printers on Linux. In that case shouldn't it only expire if support has been offered and ignored? In this case there has been no response from HP or any attempt to resolve the issue. Hardly a reason the consider this issue expired.

Revision history for this message
Launchpad Janitor (janitor) said :
#11

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Judah Kocher (kocherjj) said :
#12

Still awaiting a response from HP... approaching two months without any official response or effort to support their product.

Can you help with this problem?

Provide an answer of your own, or ask Judah Kocher for more information if necessary.

To post a message you must log in.