1 Reply Latest reply on Jun 23, 2011 11:33 AM by Flex harUI

    How to control PrintJob

    Maximist Level 1

      Hallo. I am using the following code to print:

       

      var my_pj:PrintJob = new PrintJob();
           if (my_pj.start()) {
             try {
               my_pj.addPage([params]);
             }
             catch(e:Error) {
                // handle error 
             }
                  my_pj.send();
           }
      
      It works good, but i want to know if it is possible for me to control if the user stopped the print or if some accident avoided the printer to print???.. Can i know that?? i need an event listener or a return value.. Can you help me??
      
      Thx a lot
      
      Max