hp-info cannot query static properties of a printer model before a CUPS queue is created
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Triaged
|
Undecided
|
Unassigned | ||
hplip (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
For system-
For example a multi-function device on the network is discovered (the SNMP backend of CUPS discovers which IPs on the local network are printers and hp-makeuri determines whether they are HPLIP-supported and with which functionalities). To set up a queue for its fax part I need to know which of the two Fax PPDs to take. So I call "hp-info -d <Fax URI>" and search for "fax-type" in the output. If the fax type is 4, I take the "Fax 2" PPD file otherwise the "Fax" PPD file. With older versions of HPLIP this worked, but the current one (2.8.12) allows hp-info queries only with the URIs of existing CUPS queues.
Another problems are printers which require firmware files. If I want to set up such a printer I want to check at first whether the user agrees with downloading the firmware from HP (the proprietary plug-in) before I create a queue for that printer. Here I would use hp-info to check the "plugin" and "fw-download" variables.
It is easy to block out the check whether for the supplied URI a CUPS queue exists only for hp-info (patch attached) and then I can actually query the properties of a printer whose URI I got from hp-makeuri or from the HPLIP CUPS backends,
So could you apply this patch or remove the "CUPS queue must exist" check from hp-info in a more elegant way? Thanks.
Changed in hplip: | |
assignee: | nobody → kalosaurusrex |
status: | New → Triaged |
This bug was fixed in the package hplip - 2.8.12-3ubuntu1
---------------
hplip (2.8.12-3ubuntu1) jaunty; urgency=low
[ Till Kamppeter ] patches/ hpinfo- query-without- cups-queue. dpatch: Allow hp-info to
* debian/
query URIs for which there is no CUPS queue (LP: #329220).
[ Mark Purcell ] patches/ hp-check_ debian. dpatch: Fixed hp-check for the SANE driver
* debian/
-- Till Kamppeter <email address hidden> Wed, 18 Feb 2009 11:35:45 +0100