Blog do Julio

Hacks, tutoriais e dicas

Scanner

| Comments

Instale os programas

julio@acer ~> sudo pacman -Ss sane xsane xsane-gimp hplip

Adicione seu usuário aos grupos lp e scanner

julio@acer ~> sudo gpasswd -a julio lp
julio@acer ~> sudo gpasswd -a julio scanner

Teste se o scanner é reconhecido

julio@acer ~> scanimage -L
device `v4l:/dev/video0' is a Noname HD Video WebCam virtual device

No meu caso ele não foi reconhecido.

lsusb

julio@acer ~> 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

julio@acer ~> 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_".

julio@acer ~> 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

julio@acer ~> scanimage -d hpoj:mlc:usb:psc_1310_series_ --test
julio@acer ~> 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 julio@acer ~> scanimage -L device hpaio:/usb/psc_1310_series?serial=BR5763H068O2' is a Hewlett-Packard psc_1310_series all-in-one devicev4l:/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

Links:

Comments