Scanner

Install the programs

sudo pacman -Ss sane xsane xsane-gimp hplip

Add your user to the lp and scanner groups

sudo gpasswd -a julio lp
sudo gpasswd -a julio scanner

Test if the scanner is recognized

$ scanimage -L
  device `v4l:/dev/video0' is a Noname HD Video WebCam virtual device

In my case, it was not recognized.

lsusb

$ lsusb
  Bus 001 Device 002: ID 064e:a133 Suyin Corp.
  Bus 006 Device 003: ID 03f0:3f11 Hewlett-Packard PSC-1315/PSC-1317

ptal-init

$ sudo ptal-init setup
  Probing "/dev/usb/lp0"      Found "psc 1310 series "
      with serial number "BR5763H068O2".
      This device is already set up as "mlc:usb:psc_1310_series_".
$ sudo ptal-init start
  Stopping the HP OfficeJet Linux driver.
  Starting the HP OfficeJet Linux driver.
      mlc:usb:psc_1310_series_

Test if it is working

scanimage -d hpoj:mlc:usb:psc_1310_series_ --test
scanimage -d hpoj:mlc:usb:psc_1310_series_ --format=tiff > test.tiff

File /etc/sane.d/dll.conf

Add hpoj and hpaio to the file /etc/sane.d/dll.conf

$ scanimage -L
  device `hpaio:/usb/psc_1310_series?serial=BR5763H068O2' is a Hewlett-Packard psc_1310_series all-in-one
  device `v4l:/dev/video0' is a Noname HD Video WebCam virtual device
  device `hpoj:mlc:usb:psc_1310_series_' is a hp psc 1310 series  multi-function peripheral

Julio Batista Silva
Julio Batista Silva
Data Engineer

I’m a computer engineer passionate about science, technology, photography, and languages. Currently working as a Data Engineer in Germany.

comments powered by Disqus