CUPS provides a web interface and command line tools that can be used to configure printers. Additionally, various native GUI options are available and may be better suited depending on the use case.
To configure the printer using the CUPS web interface, navigate to http://localhost:631 in a browser. Under the "Administration" tab, select "Printers > Add Printer".
The lpadmin(8) tool may be used to configure a printer using the command line.
system-config-printer package offers simple and robust configuration of
new printers. Install and invoke it:
# xbps-install -S system-config-printer # system-config-printer
Normally this tool requires root privileges. However if you are using PolicyKit,
you can install the
cups-pk-helper package to allow unprivileged users to use
system-config-printer is shown here, your desktop environment may have a
native printer dialog which may be found by consulting the documentation for