Rabib escreveu: > Hi ! > > Thanks for your posts. It's been a long long time that I am looking for a > good solution to this similar problem: create a printVbox component, that > could print html text or whatever else on multiple pages without line > cutting... exactly like the FlexPrintDatagrid Component. > Printing text is the first step, and the most difficult one. Thanks for > that. > > Your solution I working properly, except the line duplication beetween two > pages. > > Frederico, You are talking about the reset() method. Can you explain it a > bit more clearly. How can we use it in the PrintTextArea component ? > > I keep going from my side. If I find something interesting, I will share it. > > Thanks very much again. > > Ju > > > Frederico Garcia wrote: > >> Otto escreveu: >> >>> --- In [email protected], Frederico Garcia <[EMAIL PROTECTED]> >>> wrote: >>> >>> >>>> I'm making a PrintTextArea component wich is basically a TextArea >>>> >>>> >>> with >>> >>> >>>> simillar behaviour to PrintDatagrid. Still has some bugs, so I'll >>>> >>>> >>> repost >>> >>> >>>> has soon has I corrected them. >>>> >>>> Read the documentation on PrintDatagrid to learn how to use this. >>>> >>>> By the way, if someone has corrections or suggestions on this >>>> >>>> >>> please let >>> >>> >>>> me know. >>>> >>>> >>> Hi Frederico, >>> >>> that's very useful. While waiting for your solution which sounds like >>> a more proper way if doing things I'll try to hack something together >>> for my app with the help of numLines and getLineMetrics. >>> >>> thanks, >>> Otto >>> >>> >>> >>> -- >>> Flexcoders Mailing List >>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >>> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com >>> Yahoo! Groups Links >>> >>> >>> >>> >>> __________ NOD32 2769 (20080107) Information __________ >>> >>> This message was checked by NOD32 antivirus system. >>> http://www.eset.com >>> >>> >>> >>> >>> >> You can use PrintTextArea as is. The bugs are related to screen display >> and the reset() method (for printing twice the same PrintTextArea) >> missing. >> >> Regards, >> >> Frederico Garcia >> >> >> > > Hi,
I've released PrintTextArea included in FlexReport. You can see a demo (with sources) at www.kemelyon.com/bts To use PrintTextArea you have to do nextPage() while validNextPage. When you finish printing you will be at the last page. If you want to print again you need to tell PrintTextArea to go again to the first page. This is done using reset(). Let me know if yu have any problems. Regards, Frederico Garcia

