How to Make a Raspberry Pi Print Server

Most people can get by with an outdated laser or inkjet printer, but using it might be a pain in the posterior if yours lacks Wi-Fi. Yet it's simple enough to turn a Raspberry Pi into a wireless print server, letting you use any networked computer to print to your wired printer. Here's how to make a Raspberry Pi print server.

What You Need to Make a Raspberry Pi Print Server

The equipment required for this Raspberry Pi print server tutorial is listed below.

Recommended

Optional

How to Set Up a Raspberry Pi Print Server

  1. On the Raspberry Pi, launch a terminal window or login via SSH.
  2. Update the list of installable software.
sudo apt update
  1. Install the Common Unix Print System (CUPS) software.
sudo apt install cups
  1. Add the default user, pi, to the group of users who can use printers.
sudo usermod -a -G lpadmin pi
  1. Create a static IP address so that the Pi can always be located on the network. 
sudo nano /etc/dhcpcd.conf
  1. Add a static IP address and details of the router and DNS server to the bottom of the file. Depending on how your router is set up, these details may change. To save and quit, press CTRL + X, Y, and Enter after finishing.
interface wlan0
static ip_address=192.168.0.99/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1
Raspberry Pi Print Server
  1. Configure CUPS so that it is accessible across the network.
sudo cupsctl --remote-any
  1. Setup SSH remote access to the Pi if it’s not already setup. Launching raspi-config (sudo raspi-config), enabling SSH under Interface Options->SSH, quitting, and restarting are the steps needed to do this.
Raspberry Pi Print Server: Setup a Network Printer
  1. Navigate to the Raspberry Pi’s IP Address, followed by: 631, on another computer’s browser. In our example, the IP address is 192.168.0.99.
192.168.0.99:631

Read More: How to Turn your Raspberry Pi into a Web Server

lilygo Official Store

You'll see the CUPS web interface, from which we may administer the printer server.

How to Turn a Printer into a Wireless Printer with Raspberry Pi
  1. Click on the Administration tab, and on the next screen, click Add Printer.
raspberry pi print server airprint
  1. Upgrade your CUPs if you get an “Upgrade Required” warning, followed by a link to download.
  1. Select Advanced and then Proceed if you receive a “Your connection is not private” warning.
print server raspberry pi zero
  1. Enter your username and password; by default, these are PI and raspberry.
  1. Click on the radio button next to the name of your printer.
raspberry pi print server windows
  1. Select the model of your printer, and then click Add Printer. Typically, the first value returned should be correct.
How to set up a Raspberry Pi as a print server
  1. Check the configuration of the printer before clicking on “Set Default Options“.
Check the configuration of the printer

Read More: How to Run Google Stadia on a Raspberry Pi

  1. Go to Printers and then click on your printer. To open the configuration screen for that printer.
Go to Printers and then click on your printer
  1. Click on Print Test Page, found in the Maintenance menu, to print a test page and confirm that our printer is working properly.
Click on Print Test Page, found in the Maintenance menu

Using the Raspberry Pi Print Server from a Windows device

Installing the printer on Windows 10 is a breeze. Simply make sure your Windows device is on the same network as the print server.

  1. From the Start Menu, search for printers and click on Printers & scanners.
  2. Click on Add a printer or scanner
Add a printer or scanner
  1. Click on the print server.
Click on the print server.
  1. Click on Add Device, and Windows will communicate with the print server.
Add Device
  1. Click on Manage to open the printer settings page.
Manage to open the printer settings page
  1. Click on Print Test Page to test that Windows can successfully use the print server.
Print Test Page

Conclusion

I hope that this tutorial has shown you how to set up a Raspberry Pi print server and that you haven't run into any issues.

If you have any feedback, tips, or issues to offer, please leave a comment below.

keyestudio Official Store

Oh hi there It’s nice to meet you.

Sign up to receive awesome content in your inbox, every month.

We don’t spam! Read our privacy policy for more info.

Leave a Reply

Your email address will not be published. Required fields are marked *

20 Easy Raspberry Pi Projects Toys, Tools, Gadgets

20 projects using the Raspberry Pi, a tiny and affordable computer, for beginners looking to make cool things, Projects are explained with full-color visuals and simple step-by-step instructions.