Hi to all of you,I' trying to find a way to print a page with my Lazslo SWF in it. The problem is that my page needs reformating, so I can't let the user print it straight away. My idea would be to take a screenshot of the current state of the SWF on the fly, and to save it as an image that would open in a new browser window when a print button is pressed, that new window would be the page to print.If someone has a clue about how to do that, I would appreciate.
Raphael,
have you tried the "getURL('print:#bmovie', 'printer');" call, e.g. by adding a button like this to your app:
<button height="20" 'printer');">Print ...</button>
This works for me (brings up the print dialog, and on Mac OSX at least also lets you save to pdf), although unfortunately it seems to reset the application, which I haven't found a way around yet - if someone on this list knows a way to avoid the reset, I'd be glad to know :-)
Cheers,
Mario.
_______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
