A Raspberry Print Server
This is part of a short series of posts that i’m writing shortly after getting my hands on a Raspberry Pi In which i want to;
- SSH to it without a password.
- Make it a Print Server.
- Use it as a Git Server (coming soon).
- Install Node.js (coming soon).
- Host my website (coming soon).
Making a print server
The good thing here is that you're not going to have to install any drivers on the Pi.We'll use a printing service called CUPS a unix printer service with excellent sharing features. And you’ll only need printer specific drivers on those machines that connect to the print server.
SSH into your Raspberry Pi.
$ ssh pi@<ip address>
$ sudo apt-get update
$ apt-get install cups
Activate the sharing features.
$ sudo cupsctl —share-printers —remote-printers —remote-admin
Now you should be able to log into the web interface where you can add your printer.
$ open http://<ip address>:631/
There you have it, one print server. Waiting to do your bidding any time you want.
Oh just one more thing… In order to perform administrative tasks via the web interface, you need to either have the root account enabled on your server, or authenticate as a user in the lpadmin group.
So lets add the pi user to the lpadmin group.
$ sudo usermod -a -G lpadmin pi