Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOW TO] get a HP multifunction to SCAN with kooka or xsane
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
rambam
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2004
Posts: 104
Location: /dev/null

PostPosted: Tue Jan 16, 2007 11:46 am    Post subject: [HOW TO] get a HP multifunction to SCAN with kooka or xsane Reply with quote

I spent a couple of hours of trying and this is what finally made my cheap, about to be discarded HP PSC 1315 work for me. It now scans, prints and copies. :lol:

First:
run hp-probe
make sure that your device is detected
ensure that your kernel has USB support
connect it ( power and usb ) and turn it on.
close the cartridge access door.

DO NOT USE hpijs if you want the scanner to work :evil: . hpijs works well with the printer part, but has no scanner support. And leaving hpijs on the system makes hplip not work with the scanner.

Delete hpijs:
Code:
emerge -C hpijs

emerge hplip
Code:
emerge hplip

restart hplip
Code:
/etc/init.d/hplip restart

restart cupsd
Code:
/etc/init.d/cupsd restart

go to cupd control panel
Code:
http://localhost:631/admin

configure your printer
Click Add printer

Name: (May contain any printable characters except "/", "#", and space)
Location: (Human-readable location such as "Lab 1")
Description: (type some rubbish)

Choose the HP usb option ( if it is a usb scanner, of course)
The wierd App/socket options are for network printers.
Choose an appropriate driver.
If it is a PSC 1315, choose the 1310 driver

Code:
emerge sane-backend

Code:
emerge xsane

add user to the scanner group.
run xsane and make sure that it finds the scanner.
running it as root is not a good idea, but I have read that you may have to temporarily do this if your udev permissions are fouled up. Fix the permissions asap and go to running it as a user.
Code:
emerge kooka
( much nicer than xsane)
do
Code:
sane-find-scanner -q
and make sure that your scanner is found
now do
Code:
scanimage -L


if scanimage -L has no device, make sure that you deleted hpijs and emerged hplip, as described above.
DO NOT USE hpijs if you want the scanner to work


I hope it works for you. :mrgreen:


Last edited by rambam on Tue Jan 30, 2007 1:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
rambam
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2004
Posts: 104
Location: /dev/null

PostPosted: Tue Jan 30, 2007 1:15 pm    Post subject: Reply with quote

Oh and make sure that the scanner is on while running xsane or kooka.
This avoids a lot of puzzling error messages.
_________________
The soul, when accustomed to superfluous things, acquires a strong habit of desiring things. This desire is without limit, while things which are necessary are few in number.
Back to top
View user's profile Send private message
Calandra
n00b
n00b


Joined: 05 Sep 2006
Posts: 38
Location: Gubbio (PG)

PostPosted: Sat Feb 10, 2007 12:29 pm    Post subject: Reply with quote

Thanks for your guide!
I have got this error:
Code:
localhost geko # scanimage -L
scanimage: hp-option.c:3713: hp_optset_fix_geometry_options: Assertion `tl_x && tl_y && br_x && br_y' failed.
Aborted


Luca
_________________
[img]http://imagegen.last.fm/basicrt10/recenttracks/2/Doktoreas.gif[/img]
Back to top
View user's profile Send private message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Wed Feb 14, 2007 7:10 am    Post subject: Reply with quote

Code:
sane-find-scanner -q


doesnt show my scanner, i am using a parallel port scanner. it's a multifunctional machine as well.
Back to top
View user's profile Send private message
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Thu Feb 22, 2007 8:25 pm    Post subject: Reply with quote

typo - its sane-backendS
_________________
join the optout - http://nhsconfidentiality.org
Back to top
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Sat Feb 24, 2007 4:54 am    Post subject: Reply with quote

Thank you for how-to it works
_________________
www.gentoo.ro
Back to top
View user's profile Send private message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Sat Feb 24, 2007 5:21 am    Post subject: Reply with quote

for my HP PSC 500 it aint working
Back to top
View user's profile Send private message
matt454357
n00b
n00b


Joined: 28 May 2007
Posts: 3
Location: Lehi, UT

PostPosted: Mon May 28, 2007 3:14 pm    Post subject: Reply with quote

Calandra wrote:
Thanks for your guide!
I have got this error:
Code:
localhost geko # scanimage -L
scanimage: hp-option.c:3713: hp_optset_fix_geometry_options: Assertion `tl_x && tl_y && br_x && br_y' failed.
Aborted



Was getting similar errors, until I power cycled the device.
Back to top
View user's profile Send private message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Mon May 28, 2007 3:19 pm    Post subject: Reply with quote

power cycled? turned it on and off?
Back to top
View user's profile Send private message
matt454357
n00b
n00b


Joined: 28 May 2007
Posts: 3
Location: Lehi, UT

PostPosted: Wed May 30, 2007 3:06 am    Post subject: Reply with quote

Yep. It seems obvious, I know. But, it kept me up half the night.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum