|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
printing a long listI want to use FlexPrintJob to print a long List. For example, the List
contains 100 items, and only 10 fit on the screen at a time. In the GUI you can use the scrollbar to view the first 10, then the next 10, and so on. When I add the List to the FlexPrintJob and then print it, only the items that are currently visible on the screen are printed. So depending on the scroll position I can print items 1..10, or 2..11, or 11..20, etc. What I want is to print the whole list on however many pages it will take. There's an Adobe article: Multiple page printing <http://livedocs.adobe.com/flex/3/html/help.html?content=20_Printing_6.h\ tml> but it's about printing more than one item, not about printing a long item that takes more than one page. Does anyone know how to print a long list or table or similar data structure including all the areas not currently in view with the scrollbars? Thanks. |
|
|
Re: printing a long listHi. I just responded to another printing question in more detail so I'll
keep this brief and just share what I'd consider doing. Does it make sense for your system to generate a PDF and let the user print it? If so, check out AlivePDF; my project has had really good results with it. Chris On Fri, Nov 6, 2009 at 8:44 AM, mitchgrrt <mitch_gart@...> wrote: > > > I want to use FlexPrintJob to print a long List. For example, the List > contains 100 items, and only 10 fit on the screen at a time. In the GUI you > can use the scrollbar to view the first 10, then the next 10, and so on. > > When I add the List to the FlexPrintJob and then print it, only the items > that are currently visible on the screen are printed. So depending on the > scroll position I can print items 1..10, or 2..11, or 11..20, etc. What I > want is to print the whole list on however many pages it will take. > > There's an Adobe article: > > Multiple page printing<http://livedocs.adobe.com/flex/3/html/help.html?content=20_Printing_6.html> > > but it's about printing more than one item, not about printing a long item > that takes more than one page. > > Does anyone know how to print a long list or table or similar data > structure including all the areas not currently in view with the > scrollbars? Thanks. > -- Chris Downey http://code.google.com/p/vaccine-toxic-load-calculator/ http://www.vaccine-tlc.org/ http://www.chrisdowney.name |
|
|
RE: printing a long listCreate a print view w/o scrollbars. That's essentially how PrintDataGrid does it.
Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: flexcoders@... [mailto:flexcoders@...] On Behalf Of mitchgrrt Sent: Friday, November 06, 2009 5:44 AM To: flexcoders@... Subject: [flexcoders] printing a long list I want to use FlexPrintJob to print a long List. For example, the List contains 100 items, and only 10 fit on the screen at a time. In the GUI you can use the scrollbar to view the first 10, then the next 10, and so on. When I add the List to the FlexPrintJob and then print it, only the items that are currently visible on the screen are printed. So depending on the scroll position I can print items 1..10, or 2..11, or 11..20, etc. What I want is to print the whole list on however many pages it will take. There's an Adobe article: Multiple page printing<http://livedocs.adobe.com/flex/3/html/help.html?content=20_Printing_6.html> but it's about printing more than one item, not about printing a long item that takes more than one page. Does anyone know how to print a long list or table or similar data structure including all the areas not currently in view with the scrollbars? Thanks. |
| Free embeddable forum powered by Nabble | Forum Help |