Printing and Scanning under Manjaro

In my previous itteration - this is in the days of RH7.3 and thereabouts - printing and scanning under Linux was a big issue for me. There were no drivers, nothing. You looked for working setups and bought a printer based on that.

Fast-forward to now; I’ve rekindled with Linux, this time Manjaro. Much to my surprise, in my ‘gone’ years I noticed that there were a few welcome additions to my linux life.

  • Steam works; many games actually work.
  • Printing worked out-of-the-box.
  • Scanning did not.
  • I still favor xfce with open-box

My printer at home is an HP Envy Photo 6232; a fairly decent printer although printing photos leaves them orange-y in tint. Whole different rage on that topic coming in at some point. Printing worked fine, but scanning caused my printer to go insane and have all lights flickering.

Turns out that sane has commented out the exact printer I have. So if you have the same printer I do; follow along.

Installation

  1. Install cups for printing, http://www.cups.org/ For Arch-based distro’s
    1
    
    sudo pacman -S cups
    
  2. Start cups For Arch-based distro’s
    1
    
    systemctl start cupsd
    
  3. Install HPLIP drivers, http://hplip.sourceforge.net For Arch-based distro’s
    1
    
    sudo pacman -S hplip
    
  4. Install Sane for scanning, http://www.sane-project.org For Arch-based distro’s
    1
    
    sudo pacman -S sane-backends
    
  5. Install XSane for scanning, http://www.xsane.org/ For Arch-based distro’s
    1
    
    sudo pacman -S xsane
    

Configuration

This step was essential, without it - my physical printer would just crash when I tried to scan.

  1. For Arch-based distro’s
    1
    
    sudo vim /etc/sane.d/dll.conf
    
  2. Uncomment the last line: hpaio
  3. Save this file
  4. Try scanning with xsane as non-root