You could easily have a button that calls the printer and have it print. If
you look at the documentation for AS3 there is a class called PrintJob.

You could alternativley use a third party package called AlivePDF which you
can use to make a PDF out of your flash content, and have the user download
the genereated PDF. Their site is here: http://alivepdf.bytearray.org/

Ktu

On Sun, Jul 5, 2009 at 7:29 PM, K-Dawg <[email protected]> wrote:

> Hi,
>
> I developed a dynamic coupon engine for a client that loads coupon data
> from
> an XML file and draws coupons on the canvas.  This all went surprisingly
> well as I am relatively new to ActionScript.  However, I need to be able to
> make these printable, either printing the canvas or sending to a PDF.  How
> can I do this?
>
> I am figuring I could....
>
> 1.) add a button to the page (webpage, not AS) that launches the same AS in
> a separate window and calls the browser's print function.
> 2.) export the canvas directly to the printer (how????)
> 3.) export the canvas to a PDF (how????)
>
> Any thoughts/suggestions are greatly appreciated.
>
> Thanks!
>
> Kevin
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to