Hi Daniel,

You are correct that there is not currently printing support in  
OpenLaszlo. In part, this is because we didn't want to include a  
feature which would have uneven implementation against different  
runtimes. It's possible there is a design that can be implemented in  
both Flash and DHTML, we just haven't seen it yet.

It is possible to print natively in Flash, and the Flash APIs to do  
so are available within OpenLaszlo/Flash. If anyone would like to  
experiment with them, that experience would come in handy as we  
converge on a cross-runtime design.

As for LaszloMail's printing, I'm not the expert, but I believe  
LaszloMail handles printing by displaying the email in an HTML  
window. Given you are already serving non-OpenLaszlo content in other  
contexts this might be a natural solution for you. And yes, I believe  
the recommended solution involves using LzBrowser to hand the content  
off to the host browser.

jim

On May 30, 2006, at 6:24 AM, Daniel Salama wrote:

> 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

Reply via email to