Setting up a printer on Ubuntu can feel daunting if you’re new to Linux, but the process is straightforward thanks to the built-in CUPS (Common UNIX Printing System) and the modern GNOME Settings interface. This guide walks you through connecting a printer via USB, Wi-Fi, or Ethernet, covering driver installation, default settings, and troubleshooting common issues. You’ll have your printer working in minutes, whether it’s a basic inkjet or a network multifunction device.
What You’ll Need
- A printer with a USB cable, or one that supports Wi-Fi or Ethernet networking.
- For network printers: the printer’s IP address (find it via the printer’s control panel or a network scan).
- For Wi-Fi setup: your wireless network name (SSID) and password.
- Administrative (sudo) access to your Ubuntu system.
- An internet connection for downloading drivers if needed.
Step-by-Step
USB Connection
- Connect the printer to your computer using a USB cable and turn the printer on.
- Open Settings from the system menu (top-right corner) or the Applications grid.
- Click Printers in the left sidebar.
- Click Add a Printer. Ubuntu will automatically detect the USB printer and list it under Local Printers.
- Select your printer from the list and click Add.
- Ubuntu will attempt to install the correct driver automatically. If it succeeds, you’ll see your printer listed with a green checkmark. If not, proceed to the Driver Installation section below.
Wi-Fi Connection
- Ensure your printer is connected to the same Wi-Fi network as your computer. Use the printer’s control panel to join your network (refer to the printer’s manual for exact steps).
- On Ubuntu, open Settings > Printers.
- Click Add a Printer.
- Under Network Printers, look for your printer’s name or IP address. If it appears, select it and click Add.
- If your printer isn’t listed, click the gear icon next to the search bar and choose Find Network Printer. Enter the printer’s IP address in the Host field and click Find.
- Once found, select it and click Add. Ubuntu will install the driver automatically if available.
Ethernet Connection
- Connect the printer to your router or switch using an Ethernet cable. Make sure the printer is powered on.
- Find the printer’s IP address. Many printers display it on the control panel or you can print a network configuration page (usually via the printer’s menu).
- On Ubuntu, open Settings > Printers.
- Click Add a Printer.
- Under Network Printers, select Find Network Printer and enter the IP address.
- Click Find, then select the printer and click Add.
Driver Installation (If Needed)
- If Ubuntu doesn’t automatically find a driver, you’ll see a message asking for a driver. Click Search for a driver to let Ubuntu look online.
- If that fails, visit your printer manufacturer’s website and download the Linux driver (usually a .deb or .rpm package). Choose the driver for your specific model and Ubuntu version.
- Install the downloaded package by double-clicking it (opens in Software Center) or using the terminal:
sudo dpkg -i /path/to/driver.deb. If you get dependency errors, runsudo apt --fix-broken install. - After installing, go back to Settings > Printers, click Add a Printer, and select your printer again. The driver should now be recognized.
Set Default Printer
- After adding, your printer is usually set as default automatically. If not, click the printer in the list, then click the Default button (or right-click and select Set as Default).
Common Mistakes
- Not connecting to the same network: For Wi-Fi and Ethernet, the printer must be on the same subnet as your computer. Check both are connected to the same router.
- Using the wrong IP address: IP addresses can change. Always verify the current IP from the printer’s panel or by printing a network status page.
- Assuming automatic driver detection works: Some older or less common printers need manual driver installation. Don’t skip the manufacturer’s driver if Ubuntu fails.
- USB cable not fully seated: A loose connection can cause the printer to disappear. Try a different USB port or cable.
- Ignoring firewall prompts: On first use, Ubuntu may ask to allow network access for printing. Click Allow to avoid connection issues.
Tips
- Use a static IP for network printers: Reserve an IP address for your printer in your router’s DHCP settings to prevent it from changing and breaking the connection.
- Test with a simple page: After adding, print a test page from the printer settings to confirm everything works.
- Keep drivers updated: Check the manufacturer’s site occasionally for updated Linux drivers that may improve performance.
- Use the printer’s web interface: Many network printers have a web page (enter the IP in a browser) for managing settings and checking ink levels.
- For multifunction printers: Scanning may require separate software like Simple Scan or the manufacturer’s utility.
Troubleshooting
- Printer not detected over USB: Try a different USB port (preferably directly on the motherboard). Check if the printer is recognized by running
lsusbin the terminal. If it appears, the issue is driver-related. - Network printer not found: Verify the printer’s IP by pinging it from the terminal:
ping <IP>. If it responds, try adding via IP manually. If not, check the network connection and firewall. - Driver installation fails: Make sure you downloaded the correct architecture (64-bit vs 32-bit). Run
sudo apt --fix-broken installto resolve dependency issues. - Print jobs stuck in queue: Open the print queue from the printer settings, cancel all jobs, and try again. Restart the CUPS service with
sudo systemctl restart cups. - Printer prints garbled text: This usually indicates a wrong driver. Remove the printer and re-add with the correct driver.
- Wireless printer disconnects: Ensure the printer’s Wi-Fi is set to infrastructure mode (not ad-hoc). Move the printer closer to the router or use a Wi-Fi extender.
Frequently Asked Questions
How do I find my printer’s IP address?
On most printers, you can print a network configuration page from the control panel (look under Network or Settings). Alternatively, check your router’s DHCP client list.
Can I use a printer that only has Windows drivers?
Sometimes, but not reliably. Look for a Linux driver on the manufacturer’s site. If none exists, try the generic PostScript or PCL driver in Ubuntu’s driver list—many printers work with these.
Why does my printer show as ‘idle’ but doesn’t print?
Check the printer’s status in the print queue. There may be a paused job or the printer may be offline. Resume the printer and clear any stuck jobs.
How do I share a USB printer on my network?
After adding the USB printer, go to Settings > Printers, select the printer, and enable Sharing. Other computers on the network can then add it as a network printer.
Is it safe to use the printer’s web interface?
Yes, it’s a standard feature. Access it by entering the printer’s IP in a web browser. It allows you to configure network settings, check ink levels, and run diagnostics.
What if my printer isn’t listed in the driver database?
Try selecting a generic driver like ‘Generic PCL 6/PCL XL’ or ‘Generic PostScript’. If that fails, download the manufacturer’s driver or search for community-maintained drivers.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Factory Reset iPad If You Forgot Password
- Ubuntu in Windows Store: Which Editions Work?
- Secure Guest Account on Windows 11: Step-by-Step
- Stop Outlook From Changing Hyperlink Font
- Hiberfil.sys: What It Is & How to Delete It
- How to Make a Mask on Snapchat: Step-by-Step