This worked! Thanks again :)
--- In flexcoders@yahoogroups.com, "Gregor Kiddie" <[EMAIL PROTECTED]>
wrote:
>
> Something like...
>
>
>
> ((Its been a while since I looked at the printing stuff, but this
should
> give you a head start))
>
>
>
> private function print(comp: UIComponent) :void
> {
> var Printbutton: FlexPrintJob = new FlexPrintJob( );
> var printConfirmed: Boolean = Printbutton. start();
> if(printConfirmed)
> {
> Printbutton. addObject(comp);
> Printbutton. send();
> }
> }
>
> <mx:Panel id="PanelTest001" >
> </mx:Panel>
> <mx:Button label="print" click="print(PanelTest001)"/>
>
> <mx:Panel id="PanelTest002" />
> </mx:Panel>
> <mx:Button label="print" click="print(PanelTest002)"/>
>
>
>
> Gk.
>
> Gregor Kiddie
> Senior Developer
> INPS
>
> Tel: 01382 564343
>
> Registered address: The Bread Factory, 1a Broughton Street, London
SW8
> 3QJ
>
> Registered Number: 1788577
>
> Registered in the UK
>
> Visit our Internet Web site at www.inps.co.uk
> <blocked::http://www.inps.co.uk/>
>
> The information in this internet email is confidential and is
intended
> solely for the addressee. Access, copying or re-use of information
in it
> by anyone else is not authorised. Any views or opinions presented
are
> solely those of the author and do not necessarily represent those of
> INPS or any of its affiliates. If you are not the intended recipient
> please contact [EMAIL PROTECTED]
>