system-config-printer and hal_lpadmin recommend different driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal-cups-utils (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
system-config-printer (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm using Ubuntu 8.04.1 LTS.
A different printer driver is recommended when manually setting up a printer queue for my HP LaserJet 1200 printer with system-
s-c-p recommends the hpijs driver while hal_lpadmin automatically sets up the printer queue with the pxlmono driver (first recommended driver known to CUPS).
Both s-c-p and hal_lpadmin should recommend the same driver!
Furthermore there are 2 recommended drivers for this printer known to CUPS as shown in the output of the command below, while there should be only one recommended driver:
$ lpinfo -m | grep -i 'laserjet 1200'
gutenprint.
gutenprint.
drv:///
foomatic:
foomatic:
foomatic:
foomatic:
lsb/usr/
hal-cups-utils did not read the device IDs of the printers correctly. I have fixed this now.
Please replace your file
/usr/lib/ hal/scripts/ hal_lpadmin
by the attached file and make it executable with
sudo chmod 755 /usr/lib/ hal/scripts/ hal_lpadmin
Then unplug and replug your printer. Does it get re-enabled now?