I wrote this code:
var myPrintJob:FlexPrintJob = new FlexPrintJob();
this code prints the 'myUIComp' if printer is connected.
but suppose after executing myPrintJob.send(); , my printer gets disconnected.
And I want an event to return the error. So that I can prompt user about printer disconnection.
You can use the Capabilities.hasPrinting;
This might solve your problem.
Well, Capabilities.hasPrinting is unable to make it solve. It only provides the system capability to print.