One way might be to create an additional view of the component you wish to 
print, much like how some websites have a print.css, you'll have a print 
view, although, I'm not sure whether its better for your design to implement 
as a state of the component, or a new component altogether.

Regardless, you can create this component, off-screen using absolute 
positioning in a Canvas perhaps, and then add this to the PrintJob's addPage 
method. You'll specificy the rect to be that offscreen created component.

----- Original Message ----- 
From: "AC" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, February 07, 2005 10:44 AM
Subject: [flexcoders] Printing




Hello

I'm trying to print a given screen (containing a grid), but in the
print I would like to place a title bar, page numbers, time stamp and
reformat the screen in question. I, however, don't want to create a
separate screen for this. Therefore I am trying to do this in memory;
any ideas, on how I can achieve this, would be most helpful.

Does anyone know if flex printing is going to be improved in the next
version of Flex as it's very inadequate for enterprise application
development at the moment.

Thanks in advance.







Yahoo! Groups Links








Reply via email to