Detecting a printer connection
I was trying to find the printer state, though QPrinter provides QPrinter::printerState
Returns the current state of the printer. This may not always be accurate (for example if the printer doesn’t have the capability of reporting its state to the operating system).
is there any way to monitor the printer when it is connected and disconnected and receive events in the application?