PDA

View Full Version : [SOLVED] Can't add a HP Printer


Japplo
11th April 2011, 04:57 PM
Hi guys,
I can't add a HP printer. Any idea's?

[japplo@blue ~]$ more /etc/group | grep japplo
sys:x:3:root,bin,adm,japplo
lp:x:7:daemon,japplo
japplo:x:500:

$ hp-setup
HP Linux Imaging and Printing System (ver. 3.11.3a)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Found device: hp:/net/Officejet_J6400_series?ip=192.168.1.2
/warning: No PPD found for model officejet_j6400_series using new algorithm. Trying old algorithm...
error: No PPD found for model officejet_j6400 using old algorithm.
error: No appropriate print PPD file found for model officejet_j6400_series
error: Printer queue setup failed. Could not connect to CUPS Server Is user added to "sys" group(s)
error: Fax queue setup failed. Please restart CUPS and try again.

Done.

thx japplo

marko
11th April 2011, 05:42 PM
Are you using that hp-setup on purpose to bypass a problem with the usual cups methods of installing printers?

Usually you'd just run system-config-printer as root and pick "Server" -> "New" -> "Printer" from the menus or you could run Firefox and put the url in :

localhost:631

and use the HTTP cups admin interface.
The printer config tool works well at diagnosing and selecting the right driver, it might work even better if you start the system-config-printer tool and then plug the printing into the usb port but I'm not sure.


This implies it's supported
http://hplipopensource.com/hplip-web/models/officejet/officejet_j6400_series.html

And if you don't have them installed it would be a good idea to install all these packages (listing gotten with "yum search hplip" ):

# yum search hplip
Loaded plugins: changelog, downloadonly, fastestmirror, langpacks, presto
Matched: hplip ================================================== ==========================
hplip-common.x86_64 : Files needed by the HPLIP printer and scanner drivers
hplip-gui.x86_64 : HPLIP graphical tools
hplip-libs.x86_64 : HPLIP libraries
hplip.x86_64 : HP Linux Imaging and Printing Project
hpijs.x86_64 : HP Printer Drivers

bbfuller
11th April 2011, 06:14 PM

You may well find that the package "hplip" isn't installed in any event.

It's certainly not on this machine which installed from the KDE live CD.

Japplo
11th April 2011, 07:23 PM
system-config-printer and localhost:631 doesn't work too.
...arg ****, I didn't saw the segfault.......
tail -n1 /var/log/messages
Apr 11 20:19:48 blue kernel: [ 1843.167406] cupsd[10120]: segfault at 0 ip 00007f0df361654f sp 00007fff77dd9a28 error 4 in libc-2.13.90.so[7f0df34f0000+192000]

hen770
11th April 2011, 10:35 PM
system-config-printer and localhost:631 doesn't work too.
...arg ****, I didn't saw the segfault.......
tail -n1 /var/log/messages
Apr 11 20:19:48 blue kernel: [ 1843.167406] cupsd[10120]: segfault at 0 ip 00007f0df361654f sp 00007fff77dd9a28 error 4 in libc-2.13.90.so[7f0df34f0000+192000]

what is their error messages ?

AdamW
12th April 2011, 12:40 AM
I've filed a bug on cupsd crashing when you add a printer via hp-setup:

https://bugzilla.redhat.com/show_bug.cgi?id=695432

you seem to have a couple more errors than me, though, like hp-setup actually can't find your model at all.

smr54
12th April 2011, 04:00 AM
Don't know if this is helpful, but after finding that I could duplicate the problem, I then tried with selinux turned off and also with the hplip tarball from hplip's site. Neither fixes it.

Thank you for filing the bug, not sure if it's a blocker bug, but with the popularity of HP all in ones, it will probably affect a lot of people.

Japplo
12th April 2011, 03:10 PM
I've filed a bug on cupsd crashing when you add a printer via hp-setup:

https://bugzilla.redhat.com/show_bug.cgi?id=695432

you seem to have a couple more errors than me, though, like hp-setup actually can't find your model at all.

OK thanks Adam. I got a few more errors because I think cupsd crashed before I tried this new attempt.

smr54
16th April 2011, 02:13 PM
The latest cups updates have fixed this for me.

AdamW
20th April 2011, 08:14 PM
yeah, it should be resolved now.