Scanner
Instale os programas
sudo pacman -Ss sane xsane xsane-gimp hplip
Adicione seu usuário aos grupos lp e scanner
sudo gpasswd -a julio lp
sudo gpasswd -a julio scanner
Teste se o scanner é reconhecido
$ scanimage -L
device `v4l:/dev/video0' is a Noname HD Video WebCam virtual device
No meu caso ele não foi reconhecido.
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_
Teste se ele está funcionando
scanimage -d hpoj:mlc:usb:psc_1310_series_ --test
scanimage -d hpoj:mlc:usb:psc_1310_series_ --format=tiff > test.tiff
Arquivo /etc/sane.d/dll.conf
Adicione hpoj
e hpaio
ao arquivo /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