Bug 712749

Summary: hp-setup doesn't find printer ppd
Product: [Fedora] Fedora Reporter: vitor.dominor
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 19:08:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description vitor.dominor 2011-06-13 01:13:08 UTC
Description of problem:
hp-setup does not find printer ppd by itself. The reason might be that /usr/share/ppd/HP there are many ppds missing.
In order to make it find the desired ppd, I either have to add the printer through the cups webinterface, wherein it generates and finds the generated ppd file or I have to download the hplip script installer from HP, manually extract the ppds and copy them all or just the one corresponding to my printer to the previous directory.
So, I would like to suggest that all those ppd files should be included by default in the hplip rpm provided by fedora.
Still, that seems to be only part of the problem, because even when all files are installed to that directory, hp-setup takes preference for the hpijs ppd instead of the more complete hpcups ppd file. Even they are missing hp-setup somehow manages to find the hpijs ppd, perhaps generated from the gutenberg driver files, but it does not find the corresponding hpcups ppd generated also from gutenberg.
All in all, when setting up my printer through hp-setup (method I prefer), I have to manually download the ppds and manually specify them in hp-setup.

Version-Release number of selected component (if applicable):
3.11.5

Comment 1 Jiri Popelka 2011-06-13 10:05:51 UTC
Thank you for the report.

Can you show what does the
su -c "lpinfo -l -v"
command show (when the printer is on) ?

Comment 2 vitor.dominor 2011-06-13 22:55:35 UTC
When the printer is on, that command show the following output:

Periférico: uri = lpd
        class = network
        info = Host ou impressora LPD/LPR
        make-and-model = Unknown
        device-id = 
        location = 
Periférico: uri = ipp
        class = network
        info = Protocolo de impressão via Internet (ipp)
        make-and-model = Unknown
        device-id = 
        location = 
Periférico: uri = http
        class = network
        info = Protocolo de impressão via Internet (http)
        make-and-model = Unknown
        device-id = 
        location = 
Periférico: uri = https
        class = network
        info = Protocolo de impressão via Internet (https)
        make-and-model = Unknown
        device-id = 
        location = 
Periférico: uri = socket
        class = network
        info = AppSocket/HP JetDirect
        make-and-model = Unknown
        device-id = 
        location = 
Periférico: uri = scsi
        class = direct
        info = Impressora SCSI
        make-and-model = Unknown
        device-id = 
        location = 
Periférico: uri = dnssd://Photosmart%20C4380%20series%20%5B0084B2%5D._pdl-datastream._tcp.local/
        class = network
        info = Photosmart C4380 series [0084B2]
        make-and-model = HP HP Photosmart C4380 series
        device-id = MFG:HP;MDL:Photosmart C4380 series;FZY:1;
        location = 
Periférico: uri = hp
        class = direct
        info = HP Printer (HPLIP)
        make-and-model = Unknown
        device-id = 
        location = 
Periférico: uri = beh
        class = network
        info = Backend Error Handler
        make-and-model = Unknown
        device-id = 
        location = 
Periférico: uri = hpfax
        class = direct
        info = HP Fax (HPLIP)
        make-and-model = Unknown
        device-id = 
        location =

Periférico is peripheral.

Comment 4 Tim Waugh 2011-06-27 10:52:02 UTC
As the CUPS web interface works fine when setting a driver, the problem is with HPLIP not using the correct method for finding available drivers.

Comment 5 vitor.dominor 2011-06-28 00:20:14 UTC
So what should be the course of action for solving this issue?

Comment 6 Tim Waugh 2011-06-28 08:59:25 UTC
Still needs investigation.

Comment 7 Fedora End Of Life 2012-08-07 19:08:39 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping