Please post the renderer code. You may not be propertly measuring the text by relying on the explicitWidth given by the DG. Then, if the text takes two layouts to get it right, printing won't work because it effectively only allows one layout
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Sent: Wednesday, December 19, 2007 6:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] I could use some help with printing problems that I don't understand I have a pretty basic Project Management application that shows projects in a datagrid then when you click on a project you get all the details (name, dates, descriptions, etc.) Of course I have a printing script for them to print it out nice and clean, but it cuts off some of the text in some of the Text boxes. I tried setting up the printing 2 ways but both get the same results. In both cases I'm using a <mx:Text> box so the text will wrap and the box will size. Any ideas would be great, I feel real lost right now as to why it would should fine in the details window but cut off in the prining. Here's the printing scripts: 1st - just printing the 2 VBox's that hold all the info: public function doDetailsWinPrint():void { var printDJob:FlexPrintJob = new FlexPrintJob(); printDJob.printAsBitmap = false; if (printDJob.start() != true) return; printDJob.addObject (details.printLeft,FlexPrintJobScaleType.NONE); printDJob.addObject (details.printRight,FlexPrintJobScaleType.NONE); printDJob.send(); } 2nd - I created a new component that lines everything up within a single VBox, passing the details to a holder: public function doDetailsPrint():void { var printDJob:FlexPrintJob = new FlexPrintJob(); printDJob.printAsBitmap = false; if (printDJob.start()) { var printDetails:PrintDetailsView = new PrintDetailsView (); addChild(printDetails); printDetails.width = printDJob.pageWidth; //*** printDetails._ADL = projCatHolder.details.radarArr; //*** printDJob.addObject (printDetails,FlexPrintJobScaleType.SHOW_ALL); removeChild(printDetails); } printDJob.send(); }