If you are in a household with several client computers that want to share a printer, you could use a Raspberry Pi or NUC to do so. However, some printjobs can be extremely slow on a Raspberry Pi due to the limited computing power for spooling large pages.
sudo apt install cups
/etc/cups
and edit the cupsd.conf
. Edit the following lines: Listen localhost:631
must be
Listen *:631
<Location>
and add the following line as a last line in that section to allow printing and administration from the local network: Allow @LOCAL
pi
to the group lpadmin
so you can use this username for the web interface: sudo adduser pi lpadmin
systemctl restart cups
https://Server-IP-or-Name:631/admin
and check the following:On the client side installation and configuration is a lot easier.
apt install cups-client
~/.cups/client.conf
with the following content: ServerName RaspberryPi-IP-or-Name
It is possible that the directory ~/.cups
doesn't exist, just create it. If you prefer that to be a global setting, create that same file in /etc/cups
.