To perform a basic installation of CUPS, enter the following command in your terminal:

sudo apt install cups

make sure the cups service has been started & enabled

sudo systemctl status cups

change the cups configuration

sudo cupsctl --remote-admin --remote-any --share-printers

The web GUI will now be available at yourmachineip:631