I set up my hp 3830 on my destop usb and wireless. My laptop doesn’t see it as a printer, but it does show up as a wifi connection.
What do I need to do to get the printer working from the laptop?
Desktop and laptop both have leap 15.2.
I tried adding it in yast but wasn’t detected.
Hi
Is the cups service running? Temporarily disable the firewall and run hp-setup (if it needs a plugin, then run hp-plugin as your user first).
It may be that, the Avahi discovery isn’t working:
- Are the following systemd Services enabled and running?
avahi-daemon.service; dbus-org.freedesktop.Avahi.service; avahi-daemon.socket
- In ‘/etc/nsswitch.conf’, do you have a line like this?
hosts: files mdns_minimal [NOTFOUND=return] dns
Yes cups is running
…and the firewall?
sudo systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Tue 2020-06-30 15:35:22 EDT; 28min ago
Docs: man:firewalld(1)
Process: 19010 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
Process: 1443 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=0/SUCCESS)
Main PID: 1443 (code=exited, status=0/SUCCESS)
Jun 29 13:24:24 localhost systemd[1]: Starting firewalld - dynamic firewall daemon…
Jun 29 13:24:26 localhost systemd[1]: Started firewalld - dynamic firewall daemon.
Jun 30 14:01:52 localhost.localdomain systemd[1]: Reloading firewalld - dynamic firewall daemon.
Jun 30 14:01:52 localhost.localdomain systemd[1]: Reloaded firewalld - dynamic firewall daemon.
Jun 30 15:34:08 localhost.localdomain firewalld[1443]: ERROR: UNKNOWN_INTERFACE: ‘wlan0’ is not in any zone
Jun 30 15:35:21 localhost.localdomain systemd[1]: Stopping firewalld - dynamic firewall daemon…
Jun 30 15:35:22 localhost.localdomain systemd[1]: Stopped firewalld - dynamic firewall daemon.
Show what is returned by
/usr/sbin/lpinfo -v
and also
hp-probe -b net
warning: hp-probe should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 3.19.12)
Printer Discovery Utility ver. 4.1
Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
DEVICE DISCOVERY |
---|
Probing network for printers. Please wait, this will take approx. 10 seconds…
warning: No devices found on the ‘net’ bus. If this isn’t the result you are expecting,
warning: check your network connections and make sure your internet
warning: firewall software is disabled.
Done.
network dnssd://HP%20OfficeJet%203830%20series%20%5B5ACB6A%5D._ipp._tcp.local/?uuid=1c852a4d-b800-1f08-abcd-1860245acb6a
network socket://192.168.1.5:9100
network ipp://HP1860245ACB6A.local:631/ipp/print
Ok, so the printer is detected by the CUPS backends, but not by the HP utilities.
You can however run ‘hp-setup’ and configure manually with the IP address (192.168.1.5), or perhaps by it’s Avahi hostname (HP1860245ACB6A.local).
ok thanks I’ll try that
HP Linux Imaging and Printing System (ver. 3.19.12)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-root’
Created directory: /var/lib/net-snmp/cert_indexes
Created directory: /var/lib/net-snmp/mib_indexes
Found device: hp:/net/OfficeJet_3830_series?ip=192.168.1.5
Thanks that worked finally
Good result.
One more thing that I should mention - make sure that if the printer is assigned with a DHCP IP address, that you reserve it in the router (device acting as DHCP server) for this printer so that it doesn’t change unintentionally.
Hi
I usually set a small range for DHCP somewhere in the range, then set a static ip address in the device (for HP just http://ip_address).
ok will do. Started the firewall and printer works ok.
Yep, that’s another option. Either way…