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?
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!