Good Morning,
I developed a simple application that show me my printers ink levels on a java gui.
I'd like to run this program automatically every time that Ubuntu send to the printer print command. Can anybody help me?
Good Morning,
I developed a simple application that show me my printers ink levels on a java gui.
I'd like to run this program automatically every time that Ubuntu send to the printer print command. Can anybody help me?
Well, If you can make users to use shortcuts, you can set your thread to be activated if "some key" is pressed. https://java.net/projects/jna/sources/svn/content/trunk/jnalib/contrib/w32keyhook/KeyHook.java
Once i used to code a keylogger for windows, and used this one. Maybe it can help you.