sodcalculator

10 Tech How-To

How to Install Almost Any Printer on Ubuntu

Guide 10-48481 · Updated · Step by step

This guide walks you through installing almost any printer on Ubuntu, from automatic detection to manual driver setup for older or network printers. You’ll learn the standard steps that work for most models, plus what to do when Ubuntu doesn’t recognize your printer out of the box.

What You’ll Need

  • An Ubuntu computer (22.04 LTS or newer recommended)
  • Your printer’s model name and, if possible, its IP address (for network printers)
  • Administrator (sudo) access to install drivers
  • An internet connection to download drivers if needed

Step-by-Step

  1. Connect the printer. For USB printers, plug the printer into your computer and turn it on. For network printers, make sure the printer is on the same Wi‑Fi or Ethernet network as your computer.
  2. Open Settings. Click the system menu (top‑right corner), then select the gear icon to open Settings.
  3. Go to Printers. In the left sidebar, click Printers. Ubuntu will automatically search for connected printers. Wait a few seconds.
  4. Add your printer. If your printer appears in the list, click it and then click Add. If not, click Add Printer (or the plus sign) to start manual setup.
  5. Choose the connection type. For USB printers, select the device name (e.g., “USB001”). For network printers, you may see options like “IPP”, “AppSocket/HP JetDirect”, or “LPD/LPR”. If you know the printer’s IP address, choose “Find Network Printer” and enter it.
  6. Select the driver. Ubuntu will try to find a suitable driver automatically. If it does, you’ll see the printer model listed. If not, you’ll need to provide a driver manually (see step 7).
  7. Install a driver if needed. If the driver isn’t found, you have two options:
    • Use a generic driver: choose “Generic” and then a driver like “Printer” or “PostScript”. This works for many basic printers.
    • Download the official driver from the manufacturer’s website (e.g., HP, Epson, Brother). Look for a Linux or Ubuntu package (.deb or .rpm). Install it by double‑clicking the .deb file or using sudo dpkg -i <file>.deb in the terminal.
  8. Complete the setup. Once the driver is selected, click Add. Ubuntu will set up the printer and may ask you to print a test page. Click Print Test Page to verify.
  9. Set default printer (optional). Right‑click the printer in the Printers list and select Set as Default. This makes it the default for all applications.

Common Mistakes

  • Not turning on the printer before adding. Ubuntu won’t detect a printer that’s off.
  • Choosing the wrong connection type. For network printers, selecting “USB” when the printer is on Wi‑Fi will fail. Match the connection to how the printer is actually connected.
  • Using a Windows‑only driver. Drivers from Windows installers won’t work on Ubuntu. Always look for a Linux or “.deb” package.
  • Skipping the test page. Always print a test page to confirm the driver works correctly before relying on the printer.

Tips

  • For HP printers, install the hplip package (usually preinstalled) and run hp-setup in the terminal for a guided setup.
  • For Brother printers, use their official “Driver Install Tool” script, which handles both USB and network setup.
  • If your printer supports AirPrint, it will likely work with Ubuntu’s built‑in IPP driver without any extra software.
  • Keep your system updated: sudo apt update && sudo apt upgrade ensures you have the latest printer drivers in the repositories.

Troubleshooting

Printer not detected at all: Check the cable or network connection. For USB, try a different port. For network, verify the printer’s IP address by printing a network configuration page from the printer’s menu. Then in Ubuntu, go to Settings > Printers > Add Printer, choose “Find Network Printer”, and enter the IP manually.

Driver not available: Search the manufacturer’s website for a Linux driver. If none exists, try the “Generic” driver or use the printer-driver-* packages available in the Ubuntu repositories (e.g., printer-driver-gutenprint for many Epson and Canon models).

Printer is detected but won’t print: Open Settings > Printers, click on the printer, and check the “Status”. If it says “Idle”, try printing again. If it says “Paused”, right‑click and select “Resume”. If there’s an error, check the printer’s own display for paper jams or low ink.

Print jobs stuck in queue: Open the terminal and run cancel -a to cancel all jobs. Then restart the CUPS service with sudo systemctl restart cups.

Network printer works from Windows but not Ubuntu: Often this is due to a firewall or driver mismatch. Try adding the printer using the IPP protocol (ipp://printer-ip/ipp) instead of the default. Also ensure the printer’s firmware is up to date.

Frequently Asked Questions

Do I need to install drivers for every printer?

Most modern printers work with Ubuntu’s built‑in drivers, especially if they support IPP Everywhere or AirPrint. Older or niche models may require manual driver installation.

Can I install a printer that only has Windows drivers?

Sometimes, but it’s not guaranteed. You can try using the “Generic PostScript” driver, or look for a PPD file on the manufacturer’s website. If that fails, consider using a print server like CUPS on a Windows machine.

How do I find my printer’s IP address?

Print a network configuration page from the printer’s control panel (usually under “Network” or “Settings”). The IP will be listed there. Alternatively, check your router’s DHCP client list.

Why does my printer work on Windows but not Ubuntu?

Often it’s a driver issue. Ubuntu uses different drivers than Windows, and not all manufacturers provide Linux support. Try the steps above, or search for your model in the Ubuntu community forums.

Can I use a printer wirelessly without a network?

Yes, if your printer supports Wi‑Fi Direct or Bluetooth. In Ubuntu, go to Settings > Printers > Add Printer, and look for the printer’s name in the list of available devices. You may need to connect to the printer’s own Wi‑Fi network first.

What is CUPS and do I need to know about it?

CUPS (Common Unix Printing System) is the background service that manages printing on Ubuntu. You don’t need to interact with it directly, but knowing it exists helps when troubleshooting. You can access its web interface at http://localhost:631 to manage printers.

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

The whole Tech How-To bed →