Entrepreneur Geek

Nirav Mehta on life, technology and future

Printing Flex application from browser

with 2 comments

Printing a Flex application from a browser is problematic. IE shows the application correctly in preview and prints it well. Firefox shows a blank area for your Flex application and does not print it.

Our Reports module for activeCollab, has this problem and I’ve been thinking about solutions. Here are the alternatives:

  • Use ACPrintManager from AnyCharts. It creates an image snapshot of your application. This fixes almost all problems with printing Flex applications. And it even works in Firefox 3.
  • Use FlexPrintJob to fully customize what you want to print and how. We have used it in another project and it works well.

What’s your take?


No related posts.

Written by Nirav

February 23rd, 2009 at 1:28 pm

Posted in Flex & Flash

Tagged with , ,

 

2 Responses to 'Printing Flex application from browser'

Subscribe to comments with RSS or TrackBack to 'Printing Flex application from browser'.

  1. Update: I used ACPrintManager, fixed a few issues with it and got it to work. But it crashed my Firefox (Mac) a few times.

    Went with FlexPrintJob finally, with a button added to my application UI to launch printing.

    Still had a problem with content being cut off despite scaling everything.

    Solved it by adding another container canvas around my main app. Set container canvas to 100% width and my application to 95%. That made it fit the page!

    Nirav

    20 Mar 09 at 10:52 am

  2. [...] Printing Flex application from browser — Entrepreneur Geek (tags: flex printing browser) [...]

Leave a Reply