Development Flex


    layout="vertical" backgroundColor="white">
    
        
        import mx.containers.VBox;
        import mx.printing.*;
        public function printStuff():void
        {
            var printJob:FlexPrintJob = new FlexPrintJob();
            var tmpVBox:VBox = new VBox();
            printJob.start();
            addChild(tmpVBox);
            tmpVBox.addChild(text1);
            tmpVBox.addChild(text2);
            tmpVBox.addChild(text3);
            tmpVBox.addChild(text4);
            printJob.addObject(tmpVBox,FlexPrintJobScaleType.NONE);
            printJob.send();
            removeChild(tmpVBox);
        }