Printing not working

Can you use code tags around the output?

I see here message.

Dec 24 19:17:29 kiran-81w4 cupsd[544]: pam_unix(cups:auth): check pass; user unknown
Dec 24 19:17:29 kiran-81w4 cupsd[544]: pam_unix(cups:auth): authentication failure; logname= uid=0 
euid=0 tty=cups ruser= rhost=localhost```

Try running these each one line at a time.

sudo pacman -S avahi --needed
sudo systemctl start avahi-daemon
sudo systemctl enable avahi-daemon
[sudo] password for kiran: 
Sorry, try again.
[sudo] password for kiran: 
warning: avahi-0.8+22+gfd482a7-3 is up to date -- skipping
 there is nothing to do
[kiran@kiran-81w4 ~]$ sudo systemctl start avahi-daemon
[kiran@kiran-81w4 ~]$ sudo systemctl enable avahi-daemon
[kiran@kiran-81w4 ~]$ 

Check if running

systemctl status avahi-daemon
     Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; preset: disabled)
     Active: active (running) since Sat 2022-12-24 18:58:01 EST; 42min ago
TriggeredBy: ● avahi-daemon.socket
   Main PID: 490 (avahi-daemon)
     Status: "avahi-daemon 0.8 starting up."
      Tasks: 2 (limit: 8732)
     Memory: 2.1M
        CPU: 446ms
     CGroup: /system.slice/avahi-daemon.service
             ├─490 "avahi-daemon: running [kiran-81w4.local]"
             └─496 "avahi-daemon: chroot helper"

Dec 24 18:58:07 kiran-81w4 avahi-daemon[490]: New relevant interface wlan0.IPv6 for mDNS.
Dec 24 18:58:07 kiran-81w4 avahi-daemon[490]: Registering new address record for fe80::b985:dc91:45e5:9641 on wlan0.*.
Dec 24 18:58:07 kiran-81w4 avahi-daemon[490]: Joining mDNS multicast group on interface wlan0.IPv4 with address 10.0.0.27.
Dec 24 18:58:07 kiran-81w4 avahi-daemon[490]: New relevant interface wlan0.IPv4 for mDNS.
Dec 24 18:58:07 kiran-81w4 avahi-daemon[490]: Registering new address record for 10.0.0.27 on wlan0.IPv4.
Dec 24 18:58:09 kiran-81w4 avahi-daemon[490]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::b985:dc91:45e5:9641.
Dec 24 18:58:09 kiran-81w4 avahi-daemon[490]: Joining mDNS multicast group on interface wlan0.IPv6 with address 2607:fa49:5c40:c700:89c3:7184:41cd:108e.
Dec 24 18:58:09 kiran-81w4 avahi-daemon[490]: Registering new address record for 2607:fa49:5c40:c700:89c3:7184:41cd:108e on wlan0.*.
Dec 24 18:58:09 kiran-81w4 avahi-daemon[490]: Withdrawing address record for fe80::b985:dc91:45e5:9641 on wlan0.
Dec 24 18:58:09 kiran-81w4 avahi-daemon[490]: Registering new address record for 2607:fa49:5c40:c700::6198 on wlan0.*.

Check this also

pacman -Qs nss-mdn

local/nss-mdns 0.15.1-1
    glibc plugin providing host name resolution via mDNS

at this point i might just connect it to my moms windows computer

Did you edit the file in /etc/nsswitch.conf

no

# See nsswitch.conf(5) for details.

passwd: files systemd
group: files [SUCCESS=merge] systemd
shadow: files systemd
gshadow: files systemd

publickey: files

hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files```

yeah i think ill just send it to windows

Like this.

Edit: Then restart the service

sudo systemctl restart avahi-daemon NetworkManager

Edit2: Then try the printer setup again.

You may have to make one more setting for the firewall if it’s blocking mdns. It’s on the page in the wiki i posted. Just follow that and should work.

My computer wont boot now. I ended up just connecting to a windows pc and doing it. thanks for the help

Don’t know why that would be? :thinking: