[Pkg-hpijs-devel] Bug#588015: hplip: printing while unplugged/off says succeeds; hpcups filter response to run cupsenable should be automatic

Mark Hedges hedges at scriptdolphin.com
Sun Jul 4 03:10:46 UTC 2010


Package: hplip
Version: 3.10.5-3.2
Severity: normal


I have a D2660.  If I print while the printer is unplugged or
turned off, I still get status notifications that printing
has started and completed successfully.  Then I plug the 
printer in, and see the following in syslog:

Jul  3 19:55:05 maggie kernel: [390445.368077] usb 1-3: new high speed USB device using ehci_hcd and address 19
Jul  3 19:55:06 maggie kernel: [390445.503678] usb 1-3: New USB device found, idVendor=03f0, idProduct=8011
Jul  3 19:55:06 maggie kernel: [390445.503725] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul  3 19:55:06 maggie kernel: [390445.503732] usb 1-3: Product: Deskjet D2600 series
Jul  3 19:55:06 maggie kernel: [390445.503738] usb 1-3: Manufacturer: HP
Jul  3 19:55:06 maggie kernel: [390445.503742] usb 1-3: SerialNumber: TH964241X505C9
Jul  3 19:55:06 maggie kernel: [390445.503944] usb 1-3: configuration #1 chosen from 1 choice
Jul  3 19:55:06 maggie kernel: [390445.506581] usblp0: USB Bidirectional printer dev 19 if 0 alt 0 proto 2 vid 0x03F0 pid 0x8011
Jul  3 19:55:07 maggie hal_lpadmin: add
Jul  3 19:55:07 maggie hal_lpadmin: URIs: ['hp:/usb/Deskjet_D2600_series?serial=TH964241X505C9', 'usb://HP/Deskjet%20D2600%20series?serial=TH964241X505C9', 'hal:///org/freedesktop/Hal/devices/usb_device_3f0_8011_TH964241X505C9_if0_printer_TH964241X505C9']
Jul  3 19:55:07 maggie hal_lpadmin: HPLIP Fax URIs: None
Jul  3 19:55:07 maggie hal_lpadmin: Not adding printer: Deskjet_D2600_series already exists
Jul  3 19:55:07 maggie hal_lpadmin: Printer Deskjet_D2600_series exists but is disabled, reason: /usr/lib/cups/filter/hpcups failed; use 'cupsenable Deskjet_D2600_series' to enable it

When I run `cupsenable Deskjet_D2600_series`, printing starts
for the job that I printed earlier while it was unplugged, it
completes successfully and I get a status notification that
it finished.  syslog then contains the following:

Jul  3 19:55:15 maggie kernel: [390455.306909] usblp0: removed
Jul  3 19:55:16 maggie hal_lpadmin: remove
Jul  3 19:55:16 maggie hal_lpadmin: Found configured printer: Deskjet_D2600_series

It seems like /usr/lib/cups/filter/hpcups could automatically run `cupsenable`
when it detects this condition.  Or, is this a bug in package hal-cups-utils?

Thanks.  --mark--

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hplip depends on:
ii  adduser                       3.112      add and remove users and groups
ii  coreutils                     8.5-1      GNU core utilities
ii  cups                          1.4.3-1    Common UNIX Printing System(tm) - 
ii  cups-client                   1.4.3-1    Common UNIX Printing System(tm) - 
ii  hplip-cups                    3.10.5-3.2 HP Linux Printing and Imaging - CU
ii  hplip-data                    3.10.5-3.2 HP Linux Printing and Imaging - da
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libcups2                      1.4.3-1    Common UNIX Printing System(tm) - 
ii  libdbus-1-3                   1.2.24-1   simple interprocess messaging syst
ii  libhpmud0                     3.10.5-3.2 HP Multi-Point Transport Driver (h
ii  libsane                       1.0.21-2   API library for scanners
ii  libssl0.9.8                   0.9.8o-1   SSL shared libraries
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip
ii  policykit-1                   0.96-2     framework for managing administrat
ii  python                        2.6.5-5    An interactive high-level object-o
ii  python-dbus                   0.83.1-1   simple interprocess messaging syst
ii  python-imaging                1.1.7-1+b1 Python Imaging Library
ii  python-notify                 0.1.1-2+b2 Python bindings for libnotify
ii  python-pexpect                2.3-1      Python module for automating inter
ii  python-support                1.0.8      automated rebuilding support for P

Versions of packages hplip recommends:
ii  avahi-daemon                  0.6.25-3   Avahi mDNS/DNS-SD daemon
ii  hpijs                         3.10.5-3.2 HP Linux Printing and Imaging - gs
ii  sane-utils                    1.0.21-2   API library for scanners -- utilit

Versions of packages hplip suggests:
ii  gtklp                         1.2.7-2    printing tool for CUPS on the GNOM
ii  hplip-doc                     3.10.5-1   HP Linux Printing and Imaging - do
ii  hplip-gui                     3.10.5-3.2 HP Linux Printing and Imaging - GU

-- no debconf information





More information about the Pkg-hpijs-devel mailing list