hp-makeuri with the options "-f", "-s", and "-c" has no output, independent of the device

Bug #245199 reported by Till Kamppeter
14
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
Medium
Unassigned

Bug Description

In system-config-printer I call hp-makeuri with the above-mentioned command line options to find the printing URI and the Fax URI for a network-connected printer separately.

This worked until recently, until the lines

print cups_uri
print sane_uri
print fax_uri

got replaced by

log.info(cups_uri)
log.info(sane_uri)
log.info(fax_uri)

as the log level for the quiet modes is only

log.set_level('warn')

I think the lines should be reverted from "log.info(...)" to "print ...", as the mentioned command line options are especially made to request the appropriate URIs and therefore the URIs should be displayed independent of the log level.

Related branches

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

This needs to get fixed urgently, as it causes bug 250275, which means that system-config-printer (Ubuntu, Red Hat/Fedora) is not able to set up queues with the "hp" CUPS backend.

Revision history for this message
dwelch91 (dwelch91) wrote : Re: [Bug 245199] Re: hp-makeuri with the options "-f", "-s", and "-c" has no output, independent of the device

This is fixed in 2.8.8.

On Mon, Jul 21, 2008 at 12:46 AM, Till Kamppeter <email address hidden>
wrote:

> This needs to get fixed urgently, as it causes bug 250275, which means
> that system-config-printer (Ubuntu, Red Hat/Fedora) is not able to set
> up queues with the "hp" CUPS backend.
>
> --
> hp-makeuri with the options "-f", "-s", and "-c" has no output, independent
> of the device
> https://bugs.launchpad.net/bugs/245199
> You received this bug notification because you are a member of HP Linux
> Imaging and Printing, which is subscribed to HPLIP.
>

--
Bill Cosby - "Advertising is the most fun you can have with your clothes
on."

Changed in hplip:
assignee: nobody → kalosaurusrex
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Aaron, Don, did you fix it by reverting from log.info() to print(), like in the attached patch?

Revision history for this message
dwelch91 (dwelch91) wrote :

Yes.

On Wed, Jul 23, 2008 at 10:17 AM, Till Kamppeter <email address hidden>
wrote:

> Aaron, Don, did you fix it by reverting from log.info() to print(), like
> in the attached patch?
>
> ** Attachment added: "Patch showing a possible fix."
> http://launchpadlibrarian.net/16256365/hp-makeuri.patch
>
> --
> hp-makeuri with the options "-f", "-s", and "-c" has no output, independent
> of the device
> https://bugs.launchpad.net/bugs/245199
> You received this bug notification because you are a member of HP Linux
> Imaging and Printing, which is subscribed to HPLIP.
>

--
WC Fields - "A rich man is nothing but a poor man with money."

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have applied the patch in the Ubuntu package for HPLIP 2.8.6b, so that the problem is already solved in Intrepid before the release of HPLIP 2.8.8.

Changed in hplip:
status: Fix Committed → Fix Released
Revision history for this message
Adrian (metamesa) wrote :

I'm commenting here as bug 250275 is marked a duplicate.

I have the same problem in Jaunty:
arch. amd64
kernel (2.6.28-11-generic)
hplip (3.9.2-3ubuntu4)
system-config-printer (1.1.3+git20090218-0ubuntu19.1)

Two device URIs
hp:/usb/Deskjet_D2300_series?serial=TH67H150J004KT
hal:///org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_12_0_if0_0_printer_TH67H150J004KT

Please advise if I should provide further information or create a new bug report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.