Share a Printer from GNOME Desktop: Step-by-Step
In this article
To share a printer from the GNOME desktop, open Settings > Printers, select your printer, enable “Share” in its details, and ensure your firewall allows IPP (port 631). This makes the printer visible to other computers on the same network. You’ll need the printer already installed and working locally, and all devices should be on the same local network.
What You'll Need
- A printer already installed and working on the GNOME computer
- All devices (sharing and receiving) on the same local network
- Administrative (sudo) access on the GNOME machine
- If your network uses a firewall, you may need to allow IPP (port 631) and possibly mDNS (port 5353) for automatic discovery
Step-by-Step
- Open the Settings app from the Activities overview (press the Super key and type “Settings”).
- In the left sidebar, click Printers. If you don’t see it, look for “Printers” under the “Devices” section (labels vary slightly by GNOME version).
- Select the printer you want to share from the list. It should already be installed and working.
- Click the gear icon or the “Printer Details” button to open its settings.
- Look for a section labeled Sharing or a toggle that says Share this printer. Enable it. In some versions, you may need to click the lock icon and enter your password to change settings.
- Close Settings. The printer is now shared via the Internet Printing Protocol (IPP).
- On other computers, open their printer settings and add a new printer. They should see the shared printer automatically if network discovery is on. If not, you can manually add it using the hostname or IP address of the sharing computer and the printer’s queue name (usually the printer’s model name).
- If your firewall is active (e.g., firewalld or ufw), allow incoming connections on port 631 (IPP). For automatic discovery, also allow port 5353 (mDNS). The exact method depends on your firewall tool; for firewalld, run:
sudo firewall-cmd --add-service=ipp --permanentandsudo firewall-cmd --reload. For ufw, run:sudo ufw allow 631/tcpandsudo ufw allow 5353/udp. - Test the shared printer from another device by printing a test page.
Common Mistakes
- Forgetting to enable sharing in the printer’s settings. Simply having the printer installed does not share it.
- Firewall blocking IPP. Even if sharing is on, a firewall can silently block connections. Always check your firewall rules.
- Using the wrong hostname or IP. When manually adding a printer, use the correct address of the sharing computer. Check with
hostname -Ion the sharing machine. - Assuming all GNOME versions have the same UI. The exact wording of the sharing toggle may differ, but it is usually under the printer’s details.
- Not having the printer driver installed on the client. The client needs a driver for the specific printer model, though many modern systems use driverless IPP.
Tips
- Use a static IP or a hostname for the sharing computer if you plan to share regularly, so the address doesn’t change.
- For easier discovery, keep all devices on the same subnet and enable mDNS (Avahi) on the sharing machine if it’s not already running.
- If you only need to share temporarily, remember to turn off sharing after you’re done to reduce security exposure.
- On the client, try using the “Find Network Printer” feature first; it often works without manual configuration.
- If you have multiple printers, share only the ones you actually need to avoid clutter.
Troubleshooting
If the printer doesn’t appear on other devices:
- First, restart both the sharing computer and the client. This clears many temporary glitches.
- Check that the sharing computer’s printer is still working locally. If it can’t print locally, it won’t share.
- Verify the firewall is allowing IPP (port 631). Temporarily disable the firewall to test—if it works then, re-enable and add the correct rule.
- On the client, try adding the printer manually using the sharing computer’s IP address and the printer’s queue name. For example, if the sharing computer’s IP is 192.168.1.10 and the printer is “Brother_HL_L2350DW”, use
ipp://192.168.1.10:631/printers/Brother_HL_L2350DW. - Check that the sharing service is running. On most GNOME systems, this is handled by
cups-browsedandavahi-daemon. You can check withsystemctl status cups-browsedandsystemctl status avahi-daemon. If they’re not running, start them withsudo systemctl start cups-browsed avahi-daemon. - If you’re using a VPN or a guest network, the devices may be isolated. Ensure they are on the same local network.
- As a last resort, restart the CUPS service on the sharing computer:
sudo systemctl restart cups. This does not delete any settings.
Frequently Asked Questions
Do I need to install anything extra to share a printer?
No. GNOME’s printer settings include built-in sharing via CUPS. You just need to enable the toggle.
Can I share a printer from a laptop that is not always on?
Yes, but the printer will only be available when the laptop is on and connected to the network. For always-on sharing, use a desktop or a dedicated print server.
Will sharing a printer work across different Linux distributions?
Yes, as long as the client supports IPP (most modern distributions do). You may need to install a driver for the printer model, but many printers work driverlessly.
Is it safe to share a printer on a public Wi-Fi network?
It’s not recommended. Anyone on the same network could use your printer and potentially see print jobs. Only share on trusted private networks.
Can I share a printer that is connected via USB?
Yes. The USB connection is local to the sharing computer, and the sharing feature makes it available over the network.
What if the sharing toggle is grayed out?
This usually means you need to unlock the settings with your password. Click the lock icon in the printer details window and enter your password.