Bug 338605

Summary: printer is “paused” after re-pluged in
Product: [openSUSE] openSUSE 10.3 Reporter: Pascal Hauck <spielmit>
Component: PrintingAssignee: Johannes Meixner <jsmeix>
Status: RESOLVED DUPLICATE QA Contact: Johannes Meixner <jsmeix>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i386   
OS: openSUSE 10.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Pascal Hauck 2007-11-02 11:28:47 UTC
Hi,

sometimes I connect my printer to my computer, sometimes to the network.
After I re-connected it to my own PC, the printer is “paused” and I have to start it again (with the need of root rights). This is very annoying and if I hadn’t have a root account, I wouldn’t know how to get my printer working again.


Greetings
Comment 1 Johannes Meixner 2007-11-06 10:15:18 UTC
See
http://en.opensuse.org/SDB:CUPS_in_a_Nutshell
"The Backends"

See the "by the way" section at:
https://bugzilla.novell.com/show_bug.cgi?id=337665#c8

Since openSUSE 10.3 we have the new RPM "cups-autoconfig"
which contains a utility for auto-configuring USB printers
which is triggered by udev/HAL device events.
It can also disable/enable print queues when udev/HAL signals
appear that a USB printer is disconnected/connected.
Its /etc/cups-autoconfig.conf contains by default:
--------------------------------------------------------------
[CUPS]
ConfigureNewPrinters=yes
DisablePrintersOnRemoval=yes
DefaultCUPSPolicy=relaxed
Debug=yes
--------------------------------------------------------------
It is triggered via
/usr/share/hal/fdi/policy/10osvendor/10-cups-autoconfig.fdi
which runs /usr/lib/cups-autoconfig/cups-autoconfig
which does the actual stuff, see
/usr/lib/cups-autoconfig/cups-autoconfig --help
Debugging output is in /var/log/cups-autoconfig.log
Perhaps cups-autoconfig might help you if it is
an USB printer (it won't help for the network).


*** This bug has been marked as a duplicate of bug 337794 ***