printing

View: New views
3 Messages — Rating Filter:   Alert me  

printing

by Omotola Anjorin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Have you tried to use the PrintDataGrid instead of the normal DataDrid. The former is enhanced for printing.

However, i personally have my reservations printing from flash player.

Cheers



     

Re: printing

by mitchgrrt-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using mx:List and not DataGrid, but I guess I could switch to DataGrid if it's really worth it.

I think I'll wait a little while and see if anyone else on FlexCoders has other ideas, and if not I'll alter my code to use PrintDataGrid.  Thanks a lot for the suggestion.

--- In flexcoders@..., Omotola Anjorin <shot2flow@...> wrote:
>
> Have you tried to use the PrintDataGrid instead of the normal DataDrid. The former is enhanced for printing.
>
> However, i personally have my reservations printing from flash player.
>
> Cheers
>



Re: Re: printing

by Chris Downey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I recently wrestled with printing a report from Flash and began to feel that
I had to worry about too many things out of my control.  For example, there
is a 15 second limit on a page completing or the job will fail.   (For
details on this limit, see the bottom of
http://livedocs.adobe.com/flex/3/html/help.html?content=20_Printing_4.html)

Not sure if this will be appropriate for what you're doing, but we decided
to generate a PDF instead, effectively passing off all the printing
responsibilities to a technology superb at printing.   You can generate a
PDF from within your Flex app by using an AS3 library (open source) called
AlivePDF http://code.google.com/p/alivepdf/

AlivePDF is surprisingly easy to use; you can check out screencast tutorials
here:   http://www.alivepdf.org/?page_id=5

Hope this helps.


Chris



On Fri, Nov 6, 2009 at 10:29 AM, mitchgrrt <mitch_gart@...> wrote:

>
>
> I'm using mx:List and not DataGrid, but I guess I could switch to DataGrid
> if it's really worth it.
>
> I think I'll wait a little while and see if anyone else on FlexCoders has
> other ideas, and if not I'll alter my code to use PrintDataGrid. Thanks a
> lot for the suggestion.
>
>
>
--
Chris Downey
http://code.google.com/p/vaccine-toxic-load-calculator/
http://www.vaccine-tlc.org/
http://www.chrisdowney.name