Hi Daniel, We use the Flash API's to print from our application Gliffy (http://www.gliffy.com). The reference material is here:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002608.html You can create a PrintJob class directly from your script code. The only caveat is that the communication to the printer to change the paper size or layout you want is not available from the Flash API (at least we haven't figured it out). We use user messaging to alleviate this. Hope this helps, -Clint >From: Daniel Salama <[EMAIL PROTECTED]> >To: Laszlo <[email protected]> >Subject: [Laszlo-user] Printing and others >Date: Tue, 30 May 2006 09:24:39 -0400 > >I thought I would ask one more time. > >As I've read, the browser cannot print flash movies. Therefore, any >printing support from within a flash movie has to be done within the >flash itself. > >I have been reading through the docs and could not find any reference >to printing support from within Laszlo apps. I searched through the >wiki and found some references to a proposal to add printing support, >but I don't think it's been done yet. > >However, I see that LaszloMail does offer printing of messages and I >REALLY would like to know how that's done. We're working on >delivering an app to a client which must have printing support. We >took the risk of doing it with Laszlo as we believe it's a great >platform, even though we are still novices at it. We figured there is >no better way to learn than to be put in front of the fire :) > >The "others" part of the subject line refers to content returned by a >back end application server. We are connecting our Laszlo app to a >back-end via a REST-like API. However, there are some requests that >the response from the server is either a CSV or XLS file or a PDF >document. How can a Laszlo app handle these types of responses? At >first, I thought of just launching an LzBrowser for the response and >just let the browser handle the MIME type. Is that the correct >approach? Is there a better one? > >Anyway, any suggestions? > >Thanks, >Daniel >_______________________________________________ >Laszlo-user mailing list >[email protected] >http://www.openlaszlo.org/mailman/listinfo/laszlo-user _______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
