We stand with Palestine ❤️ Free Palestine 🇵🇸

No to genocide in Gaza. No to the killing of civilians. No to targeting hospitals and schools. No to deception and double standards.

How to Add a Wireless Printer on Arch/Manjaro and Make It Work?

After successfully configuring my printer on both Manjaro and Arch, with the help of various tutorials and wikis, I decided to share my experience. Below, you'll find my step-by-step guide on setting up a wireless printer on Manjaro and Arch Linux.

1- Install the avahi package
pacman -S avahi{codeBox}

2- Install the nss-mdns package for hostname resolution
pacman -S nss-mdns{codeBox}

3- Start and enable avahi-daemon.service
systemctl start avahi-daemon.service
systemctl enable avahi-daemon.service{codeBox}

4- Then, edit the file /etc/nsswitch.conf and change the line:
hosts: files dns myhostname
hosts: files mdns_minimal [NOTFOUND=return] dns myhostname{codeBox}

5- Install the cups, ghostscript, and gsfonts packages:
pacman -S cups ghostscript gsfonts{codeBox}

6- Start and enable org.cups.cupsd.service
systemctl start org.cups.cupsd.service
systemctl enable org.cups.cupsd.service{codeBox}

Optionally; CUPS can use Avahi browsing to discover unknown shared printers in your network. This can be useful in large setups where the server is unknown. To use this feature, start cups-browsed.service. {alertInfo}

7- Optionally ; some linuxers claim that they have problem when try adding printer without installing system-config-printer (error adding printer) so if you have this problem just install it:
pacman -S system-config-printer{codeBox}

8- Add your user to sys ; lp and scanner (if your printer is also a scanner) groups:
gpasswd --add username group{codeBox}

9- Install your printer driver [https://wiki.archlinux.org/index.php/CUPS#Installing_the_best_driver]
10- Use Printer Setting or Cups to add your wireless printer: http://localhost:631/

That is all. Enjoy printing 🖨
Djalel Oukid

Science teacher, PhD student, Master degree in Microbial biotechnology , Microbiologist, designer, video editor, podcaster & blogger. linkedin portfolio github

Comments are welcomed and encouraged on this blog. Spam, abusive and off-topics comments will be deleted. Please read our Comments policy before commenting.

Post a Comment (0)
Previous Post Next Post
Blackview BV9900 Pro Thermal Camera Mobile Phone Helio P90 Octa Core 8GB+128GB IP68 Rugged Smartphone 48MP Quad Rear Camera