LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-08-2011, 05:42 PM   #1
hectorDUQUE
Member
 
Registered: Jan 2007
Posts: 121

Rep: Reputation: 15
HP p1006 FC14


Hi guys,
i am getting problems in order to install my HP laser jet p1006 printer for FC14.
May somebody of you provide me a "how to" document ?

thanks in advance

Hector
 
Old 03-08-2011, 07:27 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Took me 0.28 seconds to find this on google:

http://foo2xqx.rkkda.com/

Josh
 
Old 03-09-2011, 12:38 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
and should be in cups
please read the fedora documentation
http://docs.fedoraproject.org/en-US/index.html
and then use the web tool
go here ( this will be YOUR COMPUTER)
http://localhost:631/
 
Old 03-10-2011, 02:10 PM   #4
hectorDUQUE
Member
 
Registered: Jan 2007
Posts: 121

Original Poster
Rep: Reputation: 15
thanks guys,

the problem seems to be cups:


[CODE]
[root@duke8814 foo2zjs]# make cups
if [ -x /etc/init.d/cups ]; then \
/etc/init.d/cups restart; \
elif [ -x /etc/rc.d/rc.cups ]; then \
/etc/rc.d/rc.cups restart; \
elif [ -x /etc/init.d/cupsys ]; then \
/etc/init.d/cupsys restart; \
elif [ -x /etc/init.d/cupsd ]; then \
/etc/init.d/cupsd restart; \
elif [ -x /usr/local/etc/rc.d/cups.sh ]; then \
/usr/local/etc/rc.d/cups.sh restart; \
elif [ -x /usr/local/etc/rc.d/cups.sh.sample ]; then \
cp /usr/local/etc/rc.d/cups.sh.sample /usr/local/etc/rc.d/cups.sh; \
/usr/local/etc/rc.d/cups.sh restart; \
fi
Stopping cups: [FAILED]
Starting cups: [FAILED]
make: *** [cups] Error 1


[\CODE]


when i use system-config-printer, the "add" button is disabled (gray color), so no printers are available to be installled.

am i missing something ?
 
Old 03-10-2011, 02:25 PM   #5
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
It seems like you are building cups from source; Do the following:
Code:
yum install cups*
 
Old 03-10-2011, 02:59 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
why are you building cups ???
it is installed by default !
and if for some reason it is not ( removed from the default install )
you the code above
"yum install cups"


you also need to be root to use the "system config printer" Gnome GUI

as a normal user launch it
Then a pop up window will ask for the root password

if you are using the root login to the gui hack that program will not work
the password pop-up will not show
 
Old 03-14-2011, 12:17 PM   #7
hectorDUQUE
Member
 
Registered: Jan 2007
Posts: 121

Original Poster
Rep: Reputation: 15
hi guys,

i have re-installed cups and also tried to enable the cups service (system-administration-services) but it does not starts.

when i use system-config-printer, the "add" button continuous disabled (gray color), so no printers are available to be installled.

the procedure at http://foo2xqx.rkkda.com/ success except by the cups related step.

thanks for comments
 
Old 03-14-2011, 12:38 PM   #8
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by corp769 View Post
Took me 0.28 seconds to find this on google:

http://foo2xqx.rkkda.com/

Josh
Quote:
hi guys,

i have re-installed cups and also tried to enable the cups service (system-administration-services) but it does not starts.

when i use system-config-printer, the "add" button continuous disabled (gray color), so no printers are available to be installled.

the procedure at http://foo2xqx.rkkda.com/ success except by the cups related step.

thanks for comments
Wow, took you that long to find my link in the second post of this thread?

And what do you mean by "except by the cups related step?" Can you please tell me what exactly is wrong?
 
Old 03-14-2011, 07:34 PM   #9
hectorDUQUE
Member
 
Registered: Jan 2007
Posts: 121

Original Poster
Rep: Reputation: 15
no Josh,
following your link was the first thing i did:

[CODE]
Compile:
$ make

Get extra files from the web, such as .ICM profiles for color correction,
and firmware. Select the model number for your printer:
$ ./getweb P1005 # Get HP LaserJet P1005 firmware file
$ ./getweb P1006 # Get HP LaserJet P1006 firmware file
$ ./getweb P1007 # Get HP LaserJet P1007 firmware file
$ ./getweb P1008 # Get HP LaserJet P1008 firmware file
$ ./getweb P1505 # Get HP LaserJet P1505 firmware file

Install driver, foomatic XML files, and extra files:
$ su OR $ sudo make install
# make install

(Optional) Configure hotplug (USB; HP LJ P1005/P1006/P1007/P1008/P1505):
# make install-hotplug OR $ sudo make install-hotplug

(Optional) If you use CUPS, restart the spooler:
# make cups OR $ sudo make cups


[\CODE]


last step, "make cups", fails.


[CODE]
if [ -x /etc/init.d/cups ]; then \
/etc/init.d/cups restart; \
elif [ -x /etc/rc.d/rc.cups ]; then \
/etc/rc.d/rc.cups restart; \
elif [ -x /etc/init.d/cupsys ]; then \
/etc/init.d/cupsys restart; \
elif [ -x /etc/init.d/cupsd ]; then \
/etc/init.d/cupsd restart; \
elif [ -x /usr/local/etc/rc.d/cups.sh ]; then \
/usr/local/etc/rc.d/cups.sh restart; \
elif [ -x /usr/local/etc/rc.d/cups.sh.sample ]; then \
cp /usr/local/etc/rc.d/cups.sh.sample /usr/local/etc/rc.d/cups.sh; \
/usr/local/etc/rc.d/cups.sh restart; \
fi
Stopping cups: [FAILED]
Starting cups: [FAILED]
make: *** [cups] Error 1


[\CODE]

thanks ...
 
Old 03-14-2011, 08:17 PM   #10
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
Ok I have how-to.

Stop building cups and just install it the yum way. Then, install hplip and hplip-gui. You can then add your printer using the system config printer thing in the system menu and go to the hp gui program in the system menu. One of the options will be to "Install Printer Driver". You should click this and follow instructions. Then you should click "Download Firmware" and the printer should make noise. You are finished.

Good luck

Alex
 
Old 03-29-2011, 03:29 PM   #11
hectorDUQUE
Member
 
Registered: Jan 2007
Posts: 121

Original Poster
Rep: Reputation: 15
sorry guys, i was out of town and didn't solved this issue :-(

in fact, cups was installed in the yum way but doesnt start (system-admin-services---->cups)

i also installed hplip, but setup process fails:

Code:
/usr/bin/hp-setup&
[1] 24875
[root@duke8814 foo2zjs]# 
HP Linux Imaging and Printing System (ver. 3.10.9)
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.

**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)

[1]+  Aborted                 (core dumped) /usr/bin/hp-setup
when i use system-config-printer, the "add" button continuous disabled (gray color), so no printers are available to be installled

i have done this process
http://foo2xqx.rkkda.com/
however, i looks to be until fc13.

is there any special issue for fc14 ?

best regards


hector
 
Old 03-29-2011, 03:34 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
with fedora you DO NEED to be root to edit the printer
but from the gnome gui a pop up asking for the root password should pop up

also from the recomended web interface a user name/ password pop up will show
use 'root" and your root password
http://localhost:631
then tell firefox to remember it .

Last edited by John VV; 03-29-2011 at 07:13 PM.
 
Old 03-29-2011, 07:02 PM   #13
hectorDUQUE
Member
 
Registered: Jan 2007
Posts: 121

Original Poster
Rep: Reputation: 15
there is something wrong with cups.

the link http://localhost:631/ doesnt answer ...

however, the printer is recognized by fedora:

Code:
[root@duke8814 duke3214]# lsusb
Bus 002 Device 004: ID 03f0:3e17 Hewlett-Packard LaserJet P1006
Bus 002 Device 003: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0458:003a KYE Systems Corp. (Mouse Systems) NetScroll+ Mini Traveler
Bus 001 Device 003: ID 0458:0708 KYE Systems Corp. (Mouse Systems) 
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Code:
the hosts table:

[root@duke8814 duke3214]# cat /etc/hosts
192.168.0.2	duke8814	# Added by NetworkManager
127.0.0.1	localhost.localdomain	localhost	localhost4
::1	duke8814	localhost6.localdomain6	localhost6

but daemond seems to be up:

[root@duke8814 duke3214]# netstat -nl | grep 631
[root@duke8814 duke3214]# lsof -i :631

but, rc.cups doesnt exist:

[root@duke8814 rc.d]# ls /etc/rc.d/rc.cups -la
ls: cannot access /etc/rc.d/rc.cups: No such file or directory

thanks for comments ....

hector
 
Old 03-30-2011, 05:27 AM   #14
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Can you verify that you have the cups service running? And if anything, nmap localhost and see if there are any ports being opened for cups. That's what I would do just to rule out a bad port number or whatever.
 
Old 03-30-2011, 09:16 AM   #15
hectorDUQUE
Member
 
Registered: Jan 2007
Posts: 121

Original Poster
Rep: Reputation: 15
there is not a cups server running; by going to system-admin-services the cups scheduler service is enabled but stopped, and does not restart.

Code:
[root@duke8814 rc.d]# 
[root@duke8814 rc.d]# nmap localhost

Starting Nmap 5.21 ( http://nmap.org ) at 2011-03-30 09:06 COT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000080s latency).
rDNS record for 127.0.0.1: localhost.localdomain
Not shown: 996 closed ports
PORT    STATE SERVICE
22/tcp  open  ssh
25/tcp  open  smtp
111/tcp open  rpcbind
515/tcp open  printer

Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds
[root@duke8814 rc.d]# 
[root@duke8814 rc.d]# 
[root@duke8814 rc.d]# ps -fea|grep cups
root     14655  2640  0 09:08 pts/0    00:00:00 grep --color=auto cups
[root@duke8814 rc.d]# 
[root@duke8814 rc.d]# 
[root@duke8814 rc.d]# ls -la .
total 76
drwxr-xr-x.  10 root root  4096 Jan  3 15:51 .
drwxr-xr-x. 139 root root 12288 Mar 30 03:39 ..
drwxr-xr-x.   2 root root  4096 Mar 10 17:53 init.d
-rwxr-xr-x.   1 root root  2625 Sep 27  2010 rc
drwxr-xr-x.   2 root root  4096 Mar 29 18:43 rc0.d
drwxr-xr-x.   2 root root  4096 Mar 29 18:43 rc1.d
drwxr-xr-x.   2 root root  4096 Mar 29 18:43 rc2.d
drwxr-xr-x.   2 root root  4096 Mar 29 18:43 rc3.d
drwxr-xr-x.   2 root root  4096 Mar 29 18:43 rc4.d
drwxr-xr-x.   2 root root  4096 Mar 29 18:43 rc5.d
drwxr-xr-x.   2 root root  4096 Mar 29 18:43 rc6.d
-rwxr-xr-x.   1 root root   220 Sep 27  2010 rc.local
-rwxr-xr-x.   1 root root 19021 Sep 27  2010 rc.sysinit

[root@duke8814 rc.d]# lsof -i :631
[root@duke8814 rc.d]#
thanks for comments ...

hector
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC14 and RPMFusion dmchess Linux - Desktop 12 01-29-2011 09:56 AM
Several questions regarding FC14 khansa Linux - Newbie 3 01-14-2011 08:11 PM
Printer setup utiity cannot find ppd for HP Laserjet P1006 (SOLVED:THANK YOU) Brenton Pettitt Slackware 13 08-22-2010 09:47 AM
print to hp p1006 takes 1' roughmat Mandriva 3 07-06-2008 12:33 PM
how to install HP laserjet p1006 in Mandriva 2008 roughmat Mandriva 6 04-14-2008 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration