LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Having Trouble installing HP Photosmart C6180 (https://www.linuxquestions.org/questions/linux-newbie-8/having-trouble-installing-hp-photosmart-c6180-558753/)

custangro 06-03-2007 01:27 AM

Having Trouble installing HP Photosmart C6180
 
Hello all,

I'm having trouble installing the HP Photosmart C6180 on Fedora 7. I had no trouble installing it on Fedora 6...but Fedora 7 is giving me trouble...

I downloaded the PDD file and moved it over to /usr/share/cups/model/ and ran the command hp-setup 192.168.1.200 which is the ip (statically assigned) of the printer.

Below is what I did...toward the bottom is the error I'm getting...


Code:

[root@localhost sbin]# hp-setup 192.168.1.200

HP Linux Imaging and Printing System (ver. 1.7.2)
Printer/Fax Setup Utility ver. 4.4

Copyright (c) 2003-6 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.

error: PyQt not installed. GUI not available. Exiting.
error: PyQt init failed. Reverting to interactive mode.

Setting up device: hp:/net/Photosmart_C6100_series?ip=192.168.1.200

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)



PRINT QUEUE SETUP

Please enter a name for this print queue (m=use model name:'Photosmart_C6100'*, q=quit) ?
Using queue name: Photosmart_C6100

warning: Found multiple possible PPD files

Choose a PPD file that most closely matches your device:
(Note: The model number may vary slightly from the actual model number on the device.)

Num.  PPD Filename                                        Description                           
----  ---------------------------------------------------  ----------------------------------------
0    foomatic:HP-PhotoSmart_C6100-hpijs.ppd              HP PhotoSmart C6100 Foomatic/hpijs     
1    /usr/share/cups/model/HP-PhotoSmart_C6100-hpijs.ppd  HP PhotoSmart C6100 Foomatic/hpijs     
2    (None of the above match)                                                                   

Enter number 0...2 for PPD file (q=quit) ?1
Enter a location description for this printer (q=quit) ?Kitchen
Enter additonal information or notes for this printer (q=quit) ?HPC6180

Adding print queue to CUPS:
Device URI: hp:/net/Photosmart_C6100_series?ip=192.168.1.200
Queue name: Photosmart_C6100
PPD file: HP PhotoSmart C6100 Foomatic/hpijs
Location: Kitchen
Information: HPC6180
Traceback (most recent call last):
  File "/usr/bin/hp-setup", line 623, in <module>
    cups.addPrinter(printer_name, print_uri, location, print_ppd, info)
TypeError: addPrinter() takes exactly 6 arguments (5 given)

Does anyone have an idea what could be the problem?

-custangro

Note: As soon as I get this working I have NO use for Windows anymore :D

custangro 06-03-2007 01:10 PM

Problem Sloved
 
I solved the problem using CUPS instead of the hp-setup. For those who are having similar problems...

First you must find the uri for your device...hp has a utility to do this:

Code:

[christian@localhost ~]$ sudo hp-makeuri 192.168.1.200
This will give you something like this:

Code:

[christian@localhost ~]$ sudo hp-makeuri 192.168.1.200

HP Linux Imaging and Printing System (ver. 1.7.2)
Device URI Creation Utility ver. 4.3

Copyright (c) 2003-6 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.

CUPS URI: hp:/net/Photosmart_C6100_series?ip=192.168.1.200
SANE URI: hpaio:/net/Photosmart_C6100_series?ip=192.168.1.200
HP Fax URI: hpfax:/net/Photosmart_C6100_series?ip=192.168.1.200

Now open a second terminal and open up and add a printer with:

Code:

[christian@localhost ~]$ sudo system-config-printer
Now click on New Printer. It will ask you to name the printer, give it a description, and it's location (ie. kitchen printer...). now it will ask you for your printer connection. Click on Other (on the left side), now on the right side enter the CUPS URI from the hp-makeuri command in the other terminal....I just did a copy and paste...

Now it will ask you for the PPD file...I chose HP (since I have an HP) and click next. Now, at the top left side, It will ask for the Model number, then at the bottom it will give you a list of drivers...I chose the one that was marked recommended and clicked next. Now you click apply...and you're done!

Hopefully this could be helpful to someone else :D

-custangro

Note: If you see that I made a mistake or found a better way of doing it; feel free to correct...that's why we are all here right? :)

bigjohn 06-03-2007 03:40 PM

Hum? well I'm wondering if this is a distro specific type problem.

Because both my printers are HP (laserjet 4050dtn and photosmart 8450), both are connected via ethernet, both had to have the IP address set on the device first, both were then just installed with the printer management utility in KDE with sets up the CUPS with the driver that I select from the list.

So I'm trying to fathom what it was that you were doing differently?

regards

John

p.s. and yes, I've also set them both up directly with CUPS as well (through a browser). Neither of then caused any problem.

custangro 06-03-2007 04:07 PM

Quote:

Originally Posted by bigjohn
Hum? well I'm wondering if this is a distro specific type problem.

Because both my printers are HP (laserjet 4050dtn and photosmart 8450), both are connected via ethernet, both had to have the IP address set on the device first, both were then just installed with the printer management utility in KDE with sets up the CUPS with the driver that I select from the list.

So I'm trying to fathom what it was that you were doing differently?

regards

John

p.s. and yes, I've also set them both up directly with CUPS as well (through a browser). Neither of then caused any problem.


Yeah my problem was that I was trying to use the HP installer and for some reason it gave me errors. But when I used CUPS it worked like a charm... Don't know why...but I'm glad it works now...Maybe I should use CUPS all the time now...oh well live and learn...

-custangro


All times are GMT -5. The time now is 05:45 AM.