How it should work is that if an already installed USB printer is
disconnected or turned off that its queue is automatically disabled by
hal-cups-utils and if it is turned on again that its queue gets enabled
again. This avoids that CUPS resends jobs periodically to printers which
are turned off

This is done by the script /usr/lib/hal/scripts/hal_lpadmin which is
triggered by HAL.

I attach a replacement for this script where I have done the following
improvements: No call of a scan of all available printers by CUPS is
done any more. This took a rather long time and then enabling and
disabling of the queues happens long after the power on/off events and
this can cause confusion when the printer is power-cycled quickly.
Plug'n'Print is also much faster now. I have also fixed a bug of queues
with another than the default name not being re-enabled.

Tim, can you add the new version upstream into the hal-cups-utils
package? Or better give me SVN write access there, too? Thanks.

Mikko, can you download the attached script and replace
/usr/lib/hal/scripts/hal_lpadmin by it enabling and disabling of your
printer should happen much more quickly after plugging it now, And if
you have manually assigned a name to your queue (or the queue is created
by a pre-Gutsy Ubuntu) now re-enabling should really work.


** Attachment added: "hal_lpadmin"
   http://launchpadlibrarian.net/9270817/hal_lpadmin

** Changed in: hal-cups-utils (Ubuntu)
Sourcepackagename: system-config-printer => hal-cups-utils
   Importance: Undecided => Medium
       Status: Incomplete => In Progress
       Target: None => ubuntu-7.10-beta

** Summary changed:

- system-config-printer problem
+ USB printer not re-enabled when it is turned on

-- 
USB printer not re-enabled when it is turned on
https://bugs.launchpad.net/bugs/139317
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to