"HP Device Manager" deletes other queues (Ubuntu hplip 3.13.9-1)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I've finally "solved" the mystery of CUPS queues for my HP printer disappearing on each reboot. It appears the bug is in the "HP Device Manager" component of hplip and affiliated tools, not the Ubuntu/
I keep a raw queue configured for some _very_ legacy Windows clients to continue using their native printer drivers with samba, as necessary for things like printing checks etc. with alignments configured a decade ago.
That queue happens to be called "LJ3030" and [if memory serves, because I just let HP Device Manager delete it on me] was pointed at the "hp:/usb/..." device for the printer using the "Generic Raw Queue" PPD.
As long as that queue exists, at every reboot, HP Device Manager will catch and nag via popup that the "LJ3030" queue is using an "invalid PPD".
Here's where it gets interesting:
Whether you tell it to "keep" or "delete"
At every boot I've been configuring two other queues via the system-
...until I happened to look before responding to the "HP Device Manager" popup, see they were still there, then respond to the Device Manager popup to "keep" the raw queue named "LJ3030" and watch the _other_ two queues disappear. Not expected behavior!
It will also delete the other good queues if you allow it to delete the raw queue.
I'd love to be able to run everything through a single queue as should be right and proper, but when one set of clients needs a raw queue, and Linux/*NIX printing requires quick access to both the hpcups and PostScript options depending which triggers less bugs with a particular document, this doesn't seem to be possible (see https:/
Any risk of job collision is rare in a 2-seat office, and previously it seemed like something at the "hp:/usb/" layer was serializing jobs properly despite the plethora of queues.
...
So, it turns out the HP Device Manager obliterated my original configuration of queues on upgrade of Ubuntu and hplip, except for the LJ3030 queue, then has been repeatedly obliterating other queues pointed at the device on every boot since. At least it only seems to be removing queues related to the device it is interested in, as queues for other printers and cups-pdf etc remain untouched.
For particular debugging info, just let me know what logs / output would be helpful.
Package: hplip
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 423
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Version: 3.13.9-1
Hi Floid,
Generally most of the users facing the problems with multiple queues creation issue and incorrect PPD being selected, to fix this for HP printer are bing configured using hp-tools.
Sorry for the inconvenience caused, we will look into this. Meanwhile, make following changes.
1) take a copy of /usr/share/ hplip/config_ usb_printer. py file hplip/config_ usb_printer. py /usr/share/ hplip/config_ usb_printer. py_backup
$ sudo cp /usr/share/
2) open /usr/share/ hplip/config_ usb_printer. py in root mode hplip/config_ usb_printer. py (printer_ name) statement. ( line no appr. 76)
cups.delPrinter (printer_ name)
#cups.delPrinte r(printer_ name)
$ sudo gedit /usr/share/
---> comment cups.delPrinter
Change From:
Change To:
3) remove the unwanted queues
$ hp-setup -r
4) Configure the required print queue
Thanks & Regards,
Amarnath