incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dany Dhondt <archeme...@mac.com>
Subject Re: [Discussion] Printing from Flex
Date Tue, 07 Feb 2012 02:32:51 GMT
Hi,

I never understood why pdf generation is so difficult on the client side. Is it because of
the flash sandbox?
Printing reports, tables, stats and even booklets should be core functionality in the flex
environment.
I ended up several times creating good looking UI's on the client and doing the work all over
again on the server to create a server side pdf.
A superb pdf framework like TCPDF should be available in the flex framework. I never managed
to get the same results with AlivePDF.
Personally, I don't mind to write complex code to achieve this, as long as the output is uncompromised
and perfect.
I remember using (Macromedia) Adobe Director, for which there were excellent printing plugins
available. Switching to the Flex environment was the right choice for me but it kept me frustrated
when it came to printing.

-Dany

Op 6-feb.-2012, om 23:59 heeft Jack Ring het volgende geschreven:

> Thanks Nick.
> 
> I found myself setting up ColdFusion ReportBuilder to do what I want. ( a potentially
worse solution)
> 
> See my original quote in this subject 
> 
> 
> Jack Ring
> 
> 
> On Feb 6, 2012, at 3:32 PM, Nicholas Kwiatkowski <nicholas@spoon.as> wrote:
> 
>> While not a GREAT component, we do have the PrintDataGrid, which actually
>> handles the last two items you requested.  Multi-page printing is handled
>> by queuing multiple pages into the print queue.
>> 
>> The options to set the DPI, page size, etc. is pretty limited, but it does
>> exist...
>> 
>> I have a blog post on it from 2006, but it is still accurate for the most
>> part :  http://quetwo.com/2006/10/01/printing-in-flex-part-1/
>> 
>> -Nick
>> 
>> On Mon, Feb 6, 2012 at 2:40 AM, Haykel BEN JEMIA <haykelbj@gmail.com> wrote:
>> 
>>> Flex could also add features for making the native flash printing system
>>> easier to use. Some of the functionality I can think of:
>>> 
>>> - Handle scaling based on DPI and page setup options (page size,
>>> orientation etc.).
>>> - Handle multi-page printing.
>>> - Make Flex components printable, e.g. with skins for printing like CSS
>>> for different media. For example a DataGrid could have a skin for
>>> printing
>>> where it does not include scrollbars. Some components could also require
>>> more than just a special skin for printing.
>>> 
>>> 
>>> Haykel
>>> 
>>> 
>>> 
>>> On 5 February 2012 18:04, Martin Heidegger <mh@leichtgewicht.at> wrote:
>>> 
>>>> Hello Omar,
>>>> 
>>>> as far as I can tell we were talking about flex specific printing. Having
>>>> problems with the flash player is a reality that needs to be dealt with.
>>>> For one: If we encounter bugs during implementation we should document &
>>>> report them properly. But also: We need to choose a implementation
>>> strategy
>>>> based on the things that work. There is a bunch of options to choose from
>>>> that I can think of:
>>>> 
>>>> *) A system that prints using a standardized online service
>>>> *) A system that uses native extensions
>>>> *) A system that generates pdf on the client
>>>> *) A system that works within the limitations of flash player printing
>>>> 
>>>> yours
>>>> Martin.
>>>> 
>>> 


Mime
View raw message