The complete procedure is>>
- Install packages and printer-drivers (in my case, "brother-hl3152cdw") with:
sudo pacman -S --needed cups-filters cups-openrc cups-pdf cups-pk-helper libcups print-manager system-config-printer
yay -S cups-nosystemd brother-hl3152cdw
NOTE: Don't install 'cups' conflicting with 'cups-nosystemd', by installing 'cups-nosystemd' the "old" 'cups' will be auto-removed. With "older" 'cups' you will not be able to configure the printer with 'systemsetting5'.
- Detect service if it is installed with:
rc-update -v show
- Enable service with:
sudo rc-update add cupsd default
- Start service with:
sudo rc-service cupsd start
- Check services (`cupsd` and `avahi-daemon`) are up and running with:
rc-status
your printer can be different
- Configure over `systemsettings5` or `http://localhost:631/printers`
SS5 can be different according to your Desktop-Environment (DE)
TROUBLESHOOTING:
Printer and or Scanner not working, by printing you get ERROR: "Cannot locate printer....", your printer is installed and listed under `localhost` and `systemsettings5`
1. Assure services (`cupsd` and `avahi-daemon`) are up and running (see above).
2. Assure `nss-mdns` is installed like here explained.
sudo pacman -S nss-mdns
3. Edit/modify `/etc/nsswitch.conf`
3a. Original line
hosts: files resolve [!UNAVAIL=return] dns
3b. Modified and working line:
hosts: files mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns
NOTE-S:
1. Printer and scanner works by the installation, after some time stop both to works.
2. This works on my Artix Plasma OpenRC.
3. A restart or relogin is not necessary, printer & scanner works again as soon you store the changes in `/etc/nsswitch.conf`.
4. Please to the experts to correct, if necessary, these instructions.
### PDF-Printing / storage location
The standard storage location for `cups-pdf` and `cups-ocr` are respectively:
/var/spool/cups-pdf/${USER}
/var/spool/cups-ocr/${USER}
to change it to e.g.:
/home/${USER}/Documents/PDF
/home/${USER}/Documents/OCR
or other folder you must first create the new folders (if you wish) and edit/modify the following configurations-files:
/etc/cups/cups-pdf.conf
/etc/cups/cups-ocr.conf
for this, just add to disabled line `#Out /var/spool/cups-pdf/${USER}` respectively:
Out /home/${USER}/Documents/PDF
Out /home/${USER}/Documents/OCR
Note: Changes takes immediately effect!
Thanks for your friendness @[alium], you can post this next time someone (like me) ask again.