TASK
When user print the document ,pause the pop will appear then fill the form click enter the form will closed and job has been r
WMI is too slow for this. You probably need to use FindFirstPrinterChangeNotification and FindNextPrinterChangeNotification.
You might find these examples useful.