How to Set Up Printer and Scanner Support on Linux Mint

Learn how to configure printer and scanner support on Linux Mint, covering automatic and manual setup methods, troubleshooting tips, and best practices.

Linux Mint is a popular, user-friendly distribution of Linux that provides a stable and intuitive environment for both newcomers and seasoned users. While it excels in hardware compatibility, setting up peripherals like printers and scanners can sometimes feel daunting, especially for those transitioning from Windows or macOS. This guide will walk you through the process of configuring printer and scanner support on Linux Mint, covering both automatic and manual methods, troubleshooting tips, and best practices.


Understanding Linux Printing and Scanning Architecture

Before diving into setup steps, it’s helpful to understand the underlying systems Linux uses to manage printers and scanners:

  1. CUPS (Common Unix Printing System):
    This open-source printing system handles printer management, job scheduling, and driver support. Most modern Linux distributions, including Linux Mint, use CUPS by default. It provides a web interface for advanced configuration and supports most printers.

  2. SANE (Scanner Access Now Enabled):
    SANE is the backbone of scanner support on Linux. It provides a standardized interface for communicating with scanners and works with front-end applications like simple-scan (preinstalled on Linux Mint) or XSane.

With this foundation, let’s proceed to configure your devices.


Part 1: Setting Up Printers on Linux Mint

Step 1: Automatic Printer Detection

Linux Mint often detects printers automatically, especially if they’re connected via USB or part of a local network. Here’s how to confirm:

  1. Connect your printer to your computer via USB or ensure it’s on the same network.
  2. Open the Printers application:
    • Click the Menu button (bottom-left corner).
    • Type “Printers” in the search bar and open the application.
  3. If your printer is detected, it will appear in the list. Click Add Printer to install it.

The system will typically auto-select the correct driver. If prompted, choose between open-source drivers (e.g., Generic PCL 6) or proprietary ones (if available).

Step 2: Manual Printer Configuration

If your printer isn’t detected automatically, follow these steps:

A. Install Drivers

  1. Visit the OpenPrinting Database to check if your printer is supported.

  2. Install recommended drivers via Terminal:

    sudo apt update  
    sudo apt install printer-driver-gutenprint  # For many common printers  
    sudo apt install hplip  # For HP printers  
    sudo apt install brother-lpr-drivers  # For Brother printers  
    

    Replace the package name with one relevant to your printer brand.

B. Add the Printer via CUPS Web Interface

  1. Open a browser and navigate to http://localhost:631/admin.
  2. Click Add Printer and log in with your system username and password.
  3. Select your printer from the list (USB, network, or IP address).
  4. Choose the driver:
    • Use the manufacturer’s PPD file (if downloaded).
    • Select a generic driver (e.g., “IPP Everywhere” for modern network printers).

C. Network Printers
For wireless or Ethernet-connected printers:

  1. In the Printers application, click Add.
  2. Under Network Printers, select the protocol (e.g., HP JetDirect, Internet Printing Protocol).
  3. Enter the printer’s IP address or hostname.

Step 3: Troubleshooting Printer Issues

  • Driver Problems:

    • Reinstall drivers or try alternatives (e.g., foo2zjs for certain HP/Zebra models).
    • Check the manufacturer’s website for Linux-specific drivers.
  • Connection Issues:

    • Verify cables or network connectivity.

    • Restart CUPS:

      sudo systemctl restart cups  
      
  • Permission Errors:
    Add your user to the lpadmin group:

    sudo usermod -aG lpadmin $USER  
    

Part 2: Setting Up Scanners on Linux Mint

Step 1: Automatic Scanner Setup

Most USB scanners are detected out-of-the-box. Test this by opening the Document Scanner (simple-scan):

  1. Launch it from the Menu or run simple-scan in Terminal.
  2. If your scanner is detected, you’ll see a preview window.

Step 2: Manual Scanner Configuration

If your scanner isn’t recognized:

A. Install SANE and Drivers

  1. Install SANE utilities:

    sudo apt install sane sane-utils  
    
  2. Check SANE’s Supported Devices for your model.

  3. Install vendor-specific packages:

    sudo apt install sane-airscan   # For network/IPP scanners  
    sudo apt install hplip-ppds     # HP scanners  
    sudo apt install xsane          # Advanced GUI frontend  
    

B. Configure Permissions
Ensure your user has access to the scanner:

sudo usermod -aG scanner $USER  

Log out and back in for changes to apply.

C. Test via Command Line

  1. List detected scanners:

    scanimage -L  
    
  2. If your scanner appears, capture a test image:

    scanimage > test.pnm  
    

Step 3: Troubleshooting Scanner Issues

  • Missing Drivers:
    • Check the manufacturer’s site for proprietary drivers (e.g., Epson provides .deb packages).
    • Use the sane-find-scanner command to debug detection.
  • Permission Denied:
    Verify your user is in the scanner group.
  • Network Scanners:
    Ensure the scanner’s IP is reachable and configure SANE’s saned.conf if needed.

Advanced Tips

  1. Driverless Printing: Modern printers supporting IPP Everywhere or AirPrint require no drivers. CUPS will auto-detect them.
  2. Scanning via Network: Use sane-airscan for IPP-based wireless scanners.
  3. Multifunction Devices: Some all-in-one units may need separate printer/scanner setups.

Conclusion

Configuring printers and scanners on Linux Mint is straightforward once you understand the tools at your disposal. By leveraging CUPS and SANE, most devices work seamlessly with minimal effort. For stubborn hardware, manual driver installation and permissions adjustments often resolve issues. Remember to consult manufacturer resources and Linux forums if you encounter roadblocks—the community is an invaluable resource.

With this guide, you’re now equipped to integrate your peripherals into Linux Mint, ensuring a smooth and productive computing experience. Happy printing (and scanning)!


Last modified 20.02.2025: new kotlin and mint content (93a1000)