Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need to know in my application if the printer is being used by some other application.

Is there some way I can get notified? Via dbus perhaps, or something else?

share|improve this question

1 Answer 1

you need system-config-printer-applet.

system-config-printer-applet is a print job manager for CUPS. Normally it will display a printer icon in the notification area, greyed out when there are no print jobs for the current user. Clicking on the icon displays a simple print job manager for cancelling or reprinting jobs.

For package : https://launchpad.net/ubuntu/quantal/+package/system-config-printer-gnome

share|improve this answer
    
I think he actually means something that can be used in his application's code to query dbus, like python-dbus. –  user76204 Apr 16 '13 at 16:06
    
I mention that because " Is there some way I can get notified?" –  AgentCool Apr 16 '13 at 16:09
1  
That's correct Mik. –  dmd Apr 16 '13 at 16:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.