You are not logged in.

#1 2023-04-25 14:23:19

Freed
Member
From: China
Registered: 2020-02-01
Posts: 59
Website

HP LaserJet MFP M233dw: "The printer is unreachable at this time."

Hey, I try to use HP LaserJet MFP M233dw.
https://user-images.githubusercontent.c … 53bd38.jpg

I:

sudo pacman -S hplip cups-pdf
sudo systemctl restart cups
xdg-open http://localhost:631/admin

Then `Add Printer -> Internet Printing Protocol (ipp) -> ipp://192.168.151.183/ipp -> input Name -> Make: HP LaserJet MFP m232-m237, hpcups 3.23.3 (en, en)`

Then

sudo pacman -S hplip cups-pdf
sudo systemctl restart cups
xdg-open http://localhost:631/printers

Then enter the printer name, Print test page, but I got

ID	Name	User	Size	Pages	State	Control
hp  	Unknown  	Withheld  	1k  	Unknown  	processing since
Tue 25 Apr 2023 09:55:14 PM CST 
"The printer is unreachable at this time." 	

Last edited by V1del (2023-09-06 15:42:07)


An adherent of hacker culture and open source.

Offline

#2 2023-04-25 14:59:04

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,351

Re: HP LaserJet MFP M233dw: "The printer is unreachable at this time."

I don't know if the way I set up my HP printer works for you, but I use everything everywhere which means there is no need for hplip, and no need for any driver installation as the printer provides the only file needed automatically.  The single command I use to set up is:

lpadmin -p HP-Laserjet-Printer -E -v "ipp://192.168.151.183/ipp/print" -m everywhere

Then I can manage it in the cups interface on a browser at localhost:631


Mike C

Offline

#3 2023-06-26 13:28:33

Freed
Member
From: China
Registered: 2020-02-01
Posts: 59
Website

Re: HP LaserJet MFP M233dw: "The printer is unreachable at this time."

After

lpadmin -p HP-Laserjet-Printer -E -v "ipp://192.168.151.183/ipp/print" -m everywhere

, it still

"The printer is unreachable at this time."

sad


An adherent of hacker culture and open source.

Offline

#4 2023-09-01 14:52:03

Freed
Member
From: China
Registered: 2020-02-01
Posts: 59
Website

Re: HP LaserJet MFP M233dw: "The printer is unreachable at this time."

I try to use gnome-control-center's Printers, just search the printer, and press the button to set it as defult:

https://github.com/Freed-Wu/Freed-Wu/as … 161962f5ab

$ sudo gnome-control-center
22:47:00.7598                  Gtk[10204]: WARNING: Unable to acquire session bus: Error spawning command line “dbus-launch --autolaunch=7a210121e0c14c218b6cfbf083e1de45 --binary-syntax --close-stderr”: Child process exited with code 1
22:47:00.8697        cc-wwan-panel[10204]: WARNING: Error connecting to ModemManager: Error calling StartServiceByName for org.freedesktop.ModemManager1: Unit dbus-org.freedesktop.ModemManager1.service not found.
22:47:00.8726                dconf[10204]: WARNING: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch=7a210121e0c14c218b6cfbf083e1de45 --binary-syntax --close-stderr”: Child process exited with code 1
Error creating rfkill proxy: Error spawning command line “dbus-launch --autolaunch=7a210121e0c14c218b6cfbf083e1de45 --binary-syntax --close-stderr”: Child process exited with code 1
22:47:13.4658                dconf[10204]: WARNING: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch=7a210121e0c14c218b6cfbf083e1de45 --binary-syntax --close-stderr”: Child process exited with code 1
22:47:22.0285    cc-printers-panel[10204]: WARNING: cups-pk-helper: setting default printer to Printer_A302_HP_LaserJet_MFP_M233dw_97BD1F failed: client-error-not-found
smbXcli_negprot_smb1_done: No compatible protocol selected by server.
smbXcli_negprot_smb1_done: No compatible protocol selected by server.
22:47:32.6612    cc-printers-panel[10204]: WARNING: Failed to get system bus: Error spawning command line “dbus-launch --autolaunch=7a210121e0c14c218b6cfbf083e1de45 --binary-syntax --close-stderr”: Child process exited with code 1
22:47:37.6306    cc-printers-panel[10204]: WARNING: Failed to get system bus: Error spawning command line “dbus-launch --autolaunch=7a210121e0c14c218b6cfbf083e1de45 --binary-syntax --close-stderr”: Child process exited with code 1
22:47:37.6578    cc-printers-panel[10204]: WARNING: Failed to get system bus: Error spawning command line “dbus-launch --autolaunch=7a210121e0c14c218b6cfbf083e1de45 --binary-syntax --close-stderr”: Child process exited with code 1
22:47:39.7566    cc-printers-panel[10204]: WARNING: Failed to get system bus: Error spawning command line “dbus-launch --autolaunch=7a210121e0c14c218b6cfbf083e1de45 --binary-syntax --close-stderr”: Child process exited with code 1
22:47:57.9048    cc-printers-panel[10204]: WARNING: Failed to get system bus: Error spawning command line “dbus-launch --autolaunch=7a210121e0c14c218b6cfbf083e1de45 --binary-syntax --close-stderr”: Child process exited with code 1
22:47:57.9094    cc-printers-panel[10204]: WARNING: Installation of the new printer failed.

Last edited by V1del (2023-09-06 15:42:22)


An adherent of hacker culture and open source.

Offline

#5 2023-09-01 16:11:15

Freed
Member
From: China
Registered: 2020-02-01
Posts: 59
Website

Re: HP LaserJet MFP M233dw: "The printer is unreachable at this time."

I connect my printer and PC in same network. I can open https://192.168.150.244/hp/device/set_c … Print.html to see how to configure it. but I cannot see anything in

lpstat

.

$ lpstat -p -d
lpstat: No destinations added.
no system default destination

An adherent of hacker culture and open source.

Offline

#6 2023-09-01 20:44:34

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: HP LaserJet MFP M233dw: "The printer is unreachable at this time."

Please replace the oversized image w/ links, the board has a 250x250px max rule.

nmap 192.168.151.183 192.168.150.244
22:47:32.6612    cc-printers-panel[10204]: WARNING: Failed to get system bus: Error spawning command line “dbus-launch --autolaunch=7a210121e0c14c218b6cfbf083e1de45 --binary-syntax --close-stderr”: Child process exited with code 1

I suspect that's because of sudo (don't do that), but to be sure:

loginctl session-status
echo $DBUS_SESSION_BUS_ADDRESS
dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames | sed '/string/!d; s/^\s*string //g'
dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames | sed '/string/!d; s/^\s*string //g'

Offline

#7 2023-09-06 03:59:41

Freed
Member
From: China
Registered: 2020-02-01
Posts: 59
Website

Re: HP LaserJet MFP M233dw: "The printer is unreachable at this time."

Please replace the oversized image w/ links, the board has a 250x250px max rule.

Fixed.

because of sudo

Even if don't use sudo, it also cannot work. So I try sudo, like a drowning man will catch at a straw.


An adherent of hacker culture and open source.

Offline

#8 2023-09-06 07:30:48

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: HP LaserJet MFP M233dw: "The printer is unreachable at this time."

Uninformed use of sudo is more akin to catching a lead ball…
Please post the outputs I asked for in #6

Offline

Board footer

Powered by FluxBB