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.
Server installation and configuration
- Install CUPS:
sudo apt install cups
- After the installation go to the dicectory
/etc/cupsand edit the
cupsd.conf. Edit the following lines:
- Look for all sections beginning with
<Location>and add the following line as a last line in that section to allow printing and administration from the local network:
- On a Raspberry Pi, add the user
pito the group
lpadminso you can use this username for the web interface:
sudo adduser pi lpadmin
- Afterwards, restart the CUPS daemon:
service cups restart
- Finally, go to the CUPS webinterface “Administration” tab on your server through
https://Server-IP-or-Name:631/adminand check the following:
- Share printers connected to this system
- Allow remote administration
- Allow users to cancel any job (not just their own)
This shouldn't matter much in your home network, if you are concerned you can of course leave this off.
- Click “Change Settings” and the server is ready to go. Just add your printer(s) as needed.
On the client side installation and configuration is a lot easier.
- Install the CUPS Client:
apt install cups-client
- Create the file
~/.cups/client.confwith the following content:
It is possible that the directory
~/.cupsdoesn't exist, just create it. If you prefer that to be a global setting, create that same file in
- That's it, now you're good to go!