LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   HP p1006 FC14 (https://www.linuxquestions.org/questions/fedora-35/hp-p1006-fc14-867311/)

hectorDUQUE 03-08-2011 05:42 PM

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

corp769 03-08-2011 07:27 PM

Took me 0.28 seconds to find this on google:

http://foo2xqx.rkkda.com/

Josh

John VV 03-09-2011 12:38 AM

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/

hectorDUQUE 03-10-2011 02:10 PM

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 ?

corp769 03-10-2011 02:25 PM

It seems like you are building cups from source; Do the following:
Code:

yum install cups*

John VV 03-10-2011 02:59 PM

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

hectorDUQUE 03-14-2011 12:17 PM

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

corp769 03-14-2011 12:38 PM

Quote:

Originally Posted by corp769 (Post 4283421)
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?

hectorDUQUE 03-14-2011 07:34 PM

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 ...

abrinister 03-14-2011 08:17 PM

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

hectorDUQUE 03-29-2011 03:29 PM

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

John VV 03-29-2011 03:34 PM

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 .

hectorDUQUE 03-29-2011 07:02 PM

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

corp769 03-30-2011 05:27 AM

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.

hectorDUQUE 03-30-2011 09:16 AM

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


All times are GMT -5. The time now is 06:27 AM.