2 Replies Latest reply on Jun 6, 2012 11:36 PM by sumit.king7

    How can I get error details if printer is not connected?

    sumit.king7

      I wrote this code:

       

      var myPrintJob:FlexPrintJob = new FlexPrintJob();

      if(myPrintJob.start())

      {

             myPrintJob.addObject(myUIComp);

             myPrintJob.send();

      }

       

      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.

      Thanks