Add the HP MFP 137fnw to the HPLIP
Dear Team,
I recently purchased an HP MFP 137fnw, but unfortunately, it appears that it is not supported by HPLIP software.
I would like to inquire if it is possible to add the HP MFP 137fnw to the HPLIP software.
Thank you in advance for your assistance!
OS Ubuntu v22.04 LTS Desktop
Best regards,
Zholaman
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- brian_p
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Give the outputs from
avahi-browse -rt _ipp._tcp
avahi-browse -rt _uscan._tcp
driverless
Revision history for this message
|
#3 |
Run both commands. But they did return nothing.
The MFP has been turned on
Revision history for this message
|
#4 |
root@hp:~# avahi-browse --all
+ br0 IPv6 HP Device Info local
+ br0 IPv6 HP Microsoft Windows Network local
+ br0 IPv4 HP Device Info local
+ br0 IPv4 HP Microsoft Windows Network local
+ lo IPv4 HP Device Info local
+ lo IPv4 HP Microsoft Windows Network local
+ br0 IPv4 zhimi-airpurifi
Revision history for this message
|
#5 |
The 'HP MFP 137fnw' has been connected locally to the USB port.
Revision history for this message
|
#6 |
> Run both commands. But they did return nothing.
That is not good.
Provide the output of
lsusb
lsusb -v | grep -A 3 bInterfaceClass.*7
Revision history for this message
|
#7 |
root@hp:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 012: ID 03f0:f22a HP, Inc HP Laser MFP 137fnw
Bus 001 Device 003: ID 09da:3519 A4Tech Co., Ltd. A4Tech OpticalMouse
Bus 001 Device 002: ID 0951:16d2 Kingston Technology HX-KB4BL1-US [HYPERX Alloy FPS Pro]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@hp:~# lsusb -v | grep -A 3 bInterfaceClass.*7
bInterfac
bInterfac
bInterfac
iInterface 0
--
bInterfac
bInterfac
bInterfac
iInterface 0
--
bInterfac
bInterfac
bInterfac
iInterface 0
--
bInterfac
bInterfac
bInterfac
iInterface 0
Revision history for this message
|
#8 |
> bInterfaceClass 7 Printer
> bInterfaceSubClass 1 Printer
> bInterfaceProtocol 4
> iInterface 0
These stanzas indicate that the 137fnw can use IPP-over-USB. Therefore,
'avahi-browse -rt _ipp._tcp' should give an output. When the printer is plugged
nto USB the ipp-usb daemon should become active. What is given by
systemctl status ipp-usb ?
Revision history for this message
|
#9 |
root@hp:~# systemctl status ipp-usb
● ipp-usb.service - Daemon for IPP over USB printer support
Loaded: loaded (/lib/systemd/
Active: active (running) since Thu 2023-04-20 20:31:06 +06; 19h ago
Docs: man:ipp-usb(8)
Main PID: 152886 (ipp-usb)
Tasks: 16 (limit: 76365)
Memory: 8.5M
CPU: 2min 28.213s
CGroup: /system.
Apr 20 20:31:06 hp.home.local systemd[1]: Started Daemon for IPP over USB printer support.
root@hp:~# avahi-browse -rt _ipp._tcp (launched again but return nothing)
root@hp:~#
Revision history for this message
|
#10 |
> Active: active (running) since Thu 2023-04-20 20:31:06 +06; 19h ago
ipp-usb is operating.
Set up this queue:
lpadmin -p 137fnw -v ipp://127.
Test with
lp -d 137fnw /etc/nsswitch.conf
Revision history for this message
|
#11 |
root@hp:~# lpadmin -p 137fnw -v ipp://127.
Tried to print the /etc/nsswitch.conf but this attempt was unsuccessful.
root@hp:~# lp -d 137fnw /etc/nsswitch.conf
request id is 137fnw-127 (1 file(s))
root@hp:~#
Additionally, I have created a 'test.txt' text file with one word in it and tried to print it using 'lp -d 137fnw /tmp/test.txt' but unsuccessfully. It is still in the queue for the 137fnw. We can see it in '137fnw - Active jobs'.
Revision history for this message
|
#12 |
The USB printer is definitely on localhost (127.0.0.1) at port 60000. The
resource ipp/print is a bit of a guess but most printers these days use it.
avahi-browse would confirm (or not). Consult an error_log.
sudo cuosctl --debug-logging
Revision history for this message
|
#13 |
'avahi-browse -a' shows
+ lo IPv4 HP Device Info local
What does this resolve to with
avahi-browse -ar' ?
Revision history for this message
|
#14 |
root@hp:~# cupsctl --debug-logging
root@hp:~# (returned nothing)
root@hp:~# avahi-browse -ar
+ vnet1 IPv6 HP Microsoft Windows Network local
+ br0 IPv6 HP Microsoft Windows Network local
+ br0 IPv4 HP Microsoft Windows Network local
+ lo IPv4 HP Microsoft Windows Network local
+ vnet1 IPv6 HP Device Info local
+ br0 IPv6 HP Device Info local
+ br0 IPv4 HP Device Info local
+ lo IPv4 HP Device Info local
= vnet1 IPv6 HP Device Info local
hostname = [hp.local]
address = [fe80::
port = [0]
txt = ["model=MacSamba"]
= vnet1 IPv6 HP Microsoft Windows Network local
hostname = [hp.local]
address = [fe80::
port = [445]
txt = []
= br0 IPv6 HP Device Info local
hostname = [hp.local]
address = [fe80::
port = [0]
txt = ["model=MacSamba"]
= br0 IPv6 HP Microsoft Windows Network local
hostname = [hp.local]
address = [fe80::
port = [445]
txt = []
= br0 IPv4 HP Device Info local
hostname = [hp.local]
address = [192.168.31.50]
port = [0]
txt = ["model=MacSamba"]
= br0 IPv4 HP Microsoft Windows Network local
hostname = [hp.local]
address = [192.168.31.50]
port = [445]
txt = []
= lo IPv4 HP Device Info local
hostname = [hp.local]
address = [127.0.0.1]
port = [0]
txt = ["model=MacSamba"]
= lo IPv4 HP Microsoft Windows Network local
hostname = [hp.local]
address = [127.0.0.1]
port = [445]
txt = []
+ br0 IPv4 zhimi-airpurifi
= br0 IPv4 zhimi-airpurifi
hostname = [zhimi-
address = [192.168.31.100]
port = [54321]
txt = ["mac=7c49eb852557" "epoch=1"
Revision history for this message
|
#15 |
root@hp:~# netstat -lpntu | grep 127
tcp 0 0 127.0.0.1:5900 0.0.0.0:* LISTEN 8192/qemu-system-x8
tcp 0 0 127.0.0.1:5939 0.0.0.0:* LISTEN 2428/teamviewerd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 12472/cupsd
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 820/systemd-resolve
tcp 0 0 127.0.0.1:9050 0.0.0.0:* LISTEN 1630/tor
tcp6 0 0 127.0.0.1:13579 :::* LISTEN 3605/java
udp 0 0 127.0.0.53:53 0.0.0.0:* 820/systemd-resolve
udp 0 0 127.0.0.1:896 0.0.0.0:* 2416/rpc.statd
root@hp:~#
Revision history for this message
|
#16 |
> = lo IPv4 HP Device Info local
> hostname = [hp.local]
> address = [127.0.0.1]
> port = [0]
> txt = ["model=MacSamba"]
This is not your printer. I haven't any idea why it is not discovered and do
not know what MacSamba is.
The lpadmin command was successful. This means CUPS was able to query
the printer over IPP. The file /etc/cups/
Revision history for this message
|
#17 |
root@hp:~# ll /etc/cups/
ls: cannot access '/etc/cups/
root@hp:~#
Revision history for this message
|
#18 |
Using driverless printing on USB does not appear viable with this device.
BTW, the exact model is "HP Laser MFP 137fnw". On the network it is
known to work.
> Returning to your original question: I recently purchased an HP MFP 137fnw,
> but unfortunately, it appears that it is not supported by HPLIP software.
> I would like to inquire if it is possible to add the HP MFP 137fnw to the HPLIP
> software.
The HP Laser MFP 137fnw is very unlikely to be supported by HPLIP. See
https:/
That is the only other way to get printing going.
You should consider marking this issue as solved.
Revision history for this message
|
#19 |
Let me ask If there is a driver for HP Laser MFP 135 why we cannot add it (the 'HP Laser MFP 135') to HPLIP ?
Revision history for this message
|
#20 |
Thanks brian_p, that solved my question.
Revision history for this message
|
#21 |
> et me ask If there is a driver for HP Laser MFP 135 why we cannot add it
> (the 'HP Laser MFP 135') to HPLIP ?
My records have an avahi-browse entry (from a wireless connection) for this device:
pdl=applicati
These are the languages the HP Laser MFP 135 understands. application/x-QPDL
is used with Samsung's ULD, not with HPLIP. For HPLIP, one pdl that is understood
is application/
and, IMO, is unlikely to be done by HP. Neither of these pdl is a driverless pdl.