Yes - you can create a new, non visible version of the area you are
planning to print, and use the PrintJob class to interrogate the
particular printer's printable dimensions.

Some more info (Flex 1.5/Flash) here:
http://www.sephiroth.it/reference.php?id=505&cat=1

or for Flex 2
http://livedocs.macromedia.com/labs/1/flex/langref/flash/print/PrintJob.html


HTH,
Alias

On 1/17/06, egor_flex <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We are currently using Flex in a large scale project and the issue of
> accurate printing has come up.
>
> When printing out a .swf that has been entered into a Loader object,
> when printing only the viewable area of the swf is printed out, i.e.
> the size of the browser window with the rest of the image printed as a
> grey shape. Interestingly this also happens if the Loader isn't
> visible. this is obviously a concern with the app possibly being used
> at different screen resolutions.
>
> I have found the .addPage() workaround for this in the macromedia tech
> note:
> http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19241
> , but this raises some issues about it's accuracy (as well as being a
> nasty kludge).
>
> So my question is, is there a way to print a .swf (or anything else
> for that matter) in Flex without it being constrained by the size of
> the browser window?
>
> Gk.
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to