system-config-printer-udev disables HP printers, again

Bug #499931 reported by Alex_xxx
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: system-config-printer-udev

Some time ago I filed a bug about HP printers and hal-cups-utils. I've been asked to use system-config-printer-udev instead of hal-cups-utils: https://bugs.launchpad.net/ubuntu/+source/hal-cups-utils/+bug/439652. Now I'm using system-config-printer-udev on my Debian Lenny box taken from Karmic (1.1.12+git20090826-0ubuntu8) and recompiled in Lenny environment. HPLIP is from Sid, version 3.9.10-4. The problem is the same - I've connected OfficeJet 3600, it has been recognized and added by system-config-printer-udev but in "stopped" state:

$ lshal | grep printer.
  info.product = 'Standard LPT printer port' (string)
  pnp.description = 'Standard LPT printer port' (string)
udi = '/org/freedesktop/Hal/devices/usb_device_3f0_3112_CN97L4P08W053D_if1_printer_CN97L4P08W053D'
  info.capabilities = {'printer'} (string list)
  info.category = 'printer' (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_3f0_3112_CN97L4P08W053D_if1_printer_CN97L4P08W053D' (string)
  printer.commandset = {'LDL', 'MLC', 'PML', 'DYN'} (string list)
  printer.device = '/dev/usb/lp0' (string)
  printer.originating_device = '/org/freedesktop/Hal/devices/usb_device_3f0_3112_CN97L4P08W053D_if1' (string)
  printer.product = 'Officejet J3600 series' (string)
  printer.serial = 'CN97L4P08W053D' (string)
  printer.vendor = 'HP' (string)

$ cups-printers
...
Found printer "Officejet-J3600-series", "(null)"
        Option "auth-info-required"="none"
        Option "copies"="1"
        Option "device-uri"="hp:/usb/Officejet_J3600_series?serial=CN97L4P08W053D"
        Option "finishings"="3"
        Option "job-hold-until"="no-hold"
        Option "job-priority"="50"
        Option "job-sheets"="none,none"
        Option "marker-change-time"="0"
        Option "media"="A4"
        Option "number-up"="1"
        Option "printer-info"="HP Officejet J3600 series"
        Option "printer-is-accepting-jobs"="true"
        Option "printer-is-shared"="true"
        Option "printer-location"="dbs"
        Option "printer-make-and-model"="HP Officejet j3600 series Foomatic/hpijs, hpijs 2.8.6b"
        Option "printer-state"="3"
        Option "printer-state-change-time"="1261229036"
        Option "printer-state-reasons"="none"
        Option "printer-type"="4108"
        Option "printer-uri-supported"="ipp://localhost:631/printers/Officejet-J3600-series"

I've enabled it manually with cupsenable, but when I removed it from USB port, system-config-printer-udev didn't remove it from CUPS database, /etc/cups/printers.conf still contains a record for this printer (and it is marked as "online"):

$ cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.3.8
# Written by cupsd on 2009-12-19 08:23
...
<Printer Officejet-J3600-series>
Info HP Officejet J3600 series
Location dbs
DeviceURI hp:/usb/Officejet_J3600_series?serial=CN97L4P08W053D
State Idle
StateTime 1261229036
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

$ cups-printers
...
Found printer "Officejet-J3600-series", "(null)"
        Option "auth-info-required"="none"
        Option "copies"="1"
        Option "device-uri"="hp:/usb/Officejet_J3600_series?serial=CN97L4P08W053D"
        Option "finishings"="3"
        Option "job-hold-until"="no-hold"
        Option "job-priority"="50"
        Option "job-sheets"="none,none"
        Option "marker-change-time"="0"
        Option "media"="A4"
        Option "number-up"="1"
        Option "printer-info"="HP Officejet J3600 series"
        Option "printer-is-accepting-jobs"="true"
        Option "printer-is-shared"="true"
        Option "printer-location"="dbs"
        Option "printer-make-and-model"="HP Officejet j3600 series Foomatic/hpijs, hpijs 2.8.6b"
        Option "printer-state"="3"
        Option "printer-state-change-time"="1261229036"
        Option "printer-state-reasons"="none"
        Option "printer-type"="4108"
        Option "printer-uri-supported"="ipp://localhost:631/printers/Officejet-J3600-series"

As you can see, printer-state is "3", which means that it is online. But it is physically disconnected:

$ lshal | grep printer.
  info.product = 'Standard LPT printer port' (string)
  pnp.description = 'Standard LPT printer port' (string)

$ lpstat -p
printer CUPS-PDF is idle. enabled since Wed 02 Sep 2009 05:59:48 AM EDT
printer DellW5300 is idle. enabled since Wed 04 Nov 2009 03:53:25 PM EST
printer Officejet-J3600-series is idle. enabled since Sat 19 Dec 2009 08:23:56 AM EST

Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Hello Alex,
Thank you for submitting this bug and reporting a problem with system-config-printer. You made this bug report some time ago and Ubuntu has been updated since then.

Could you confirm that this is no longer a problem and that we can close the bug report?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know, and in the current version, run the following (only once):
apport-collect BUGNUMBER
and upload the updated logs and and any other logs that are relevant for this particular issue.

Thank you again for helping make Ubuntu better.
G
[Ubuntu Bug Squad volunteer triager]

Changed in system-config-printer (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for system-config-printer (Ubuntu) because there has been no activity for 60 days.]

Changed in system-config-printer (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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