0 Replies Latest reply on Aug 26, 2010 9:50 AM by pogla129

    Problem with removing the print button..........

    pogla129 Level 1

      I have facing some problem  with print button in a page  in flex.

      My intention is to remove the print button from the page , after the   printing  job  through the  printer.......

       

      I  have used  FlexPrintJob class,  object for  these  purpose....

       

      private function doPrint():void {
                    
                      var printJob:FlexPrintJob = new FlexPrintJob();
                   
                      if (printJob.start() != true) return;            
                      printJob.addObject(myDataGrid, FlexPrintJobScaleType.NONE);              
                      printJob.send();
                  }

       

      Thanks in advance for any help............