hello after i resolve my problem with adding a printer and make it useful (make it works )on manjaro and arch (by reading tutorials and wikis) i decide to share my experience so :
1- Install the avahi package
2- Install the nss-mdns package for hostname resolution
3- Start and enable avahi-daemon.service
4- Then, edit the file /etc/nsswitch.conf and change the line:
5- Install the cups, ghostscript, and gsfonts packages.
6- Start and enable org.cups.cupsd.service
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
8- Add your user to sys ; lp and scanner (this if your printer is also a scanner) groups
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
1- Install the avahi package
pacman -S avahi
2- Install the nss-mdns package for hostname resolution
pacman -S nss-mdns
3- Start and enable avahi-daemon.service
systemctl start avahi-daemon.service
systemctl enable avahi-daemon.service
4- Then, edit the file /etc/nsswitch.conf and change the line:
hosts: files dns myhostname
to:hosts: files mdns_minimal [NOTFOUND=return] dns myhostname
5- Install the cups, ghostscript, and gsfonts packages.
pacman -S cups ghostscript gsfonts
6- Start and enable org.cups.cupsd.service
systemctl start org.cups.cupsd.service
systemctl enable org.cups.cupsd.service
( 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)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
8- Add your user to sys ; lp and scanner (this if your printer is also a scanner) groups
gpasswd --add username group
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