I searched a little for this but couldn't find anything. I'm
wondering if Flex components nicely support the media-print
functionality of CSS. It seems like they should, but I have never
used it, so I don't know.
I have used media=print successfully in style sheet
declarations, and so far as I can tell Flex does not support this.
Indeed, if you just try to print out a web page with a Flex app
then the result is browser-dependent. By far the most successful
way to print from Flex is to use the PrintJob object. This
basically involves creating a second Flex app loosely based on the
first one but with components rearranged for printing (for example,
the various pages of an accordion arranged in a vertical grid or
VBox). The values of the second app are then populated from those
of the first so that the actual data values agree.