LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2007, 01:27 AM   #1
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
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
 
Old 06-03-2007, 01:10 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979

Original Poster
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
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

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

Last edited by custangro; 06-03-2007 at 01:14 PM.
 
Old 06-03-2007, 03:40 PM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
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.

Last edited by bigjohn; 06-03-2007 at 03:41 PM.
 
Old 06-03-2007, 04:07 PM   #4
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979

Original Poster
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
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
 
  


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
Printing with HP Photosmart 2575 eoinrua Puppy 2 05-22-2007 05:12 PM
HP Photosmart C6180 All-in-one Kristoffer G Linux - Newbie 3 04-22-2007 10:23 PM
HP PhotoSmart 8450 Dox Systems - Brian Solaris / OpenSolaris 2 12-01-2006 09:19 AM
HP PhotoSmart 2575xi harley51 Fedora 1 02-28-2006 03:27 PM
installing hp photosmart 2608 printer in linux. s_bhatt Linux - Hardware 1 02-03-2006 04:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:20 AM.

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