![]() |
![]() |
||||||
|
|||||||
| Tags: flex3, printing |
![]() |
|
|||
|
I want to print a page which has everything a text component,labels
,datagrid,advanced datagrid. How can i do it.?? I have an idea of printing the datagrid and advanced datagrid .But one page having all items No idea??? Can somebody help?? |
| Sponsored Links |
|
|||
|
This is the code that you need to print something in flex.
<mx:Script> <![CDATA[ import mx.printing.FlexPrintJob; private function print():void { // create print job var printJob:FlexPrintJob = new FlexPrintJob(); if(printJob.start()){ // add page printJob.addObject(myLabel,"none"); // send to printer printJob.send(); } } ]]> </mx:Script> where mylabel is a control you could add any display object that you want. |
|
|||
|
Demo and source code of how to print reports in Flex and AIR
http://thorntononflex.blogspot.com/ Enjoy... |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise