You are not logged in.
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/adminThen `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/printersThen 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
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 everywhereThen I can manage it in the cups interface on a browser at localhost:631
Mike C
Offline
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." ![]()
An adherent of hacker culture and open source.
Offline
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
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 destinationAn adherent of hacker culture and open source.
Offline
Please replace the oversized image w/ links, the board has a 250x250px max rule.
nmap 192.168.151.183 192.168.150.24422: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 1I 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'Online
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
Uninformed use of sudo is more akin to catching a lead ball…
Please post the outputs I asked for in #6
Online