Hi Kevin,
   To set what's going to the printer to fit:

   Get the print pageWidth/pageHeight from the PrintJob object (after
calling start()).

   Use the scaleX, scaleY of the clip you are printing to make it fit
within that pageWidth/pageHeight.

   Call addPage(), passing the clip.

   Call send().

HTH,
   Ian

On Tue, Oct 20, 2009 at 8:45 PM, Kevin Holleran <[email protected]> wrote:
> Good afternoon,
>
> I wrote a little flash app that loads coupons from an XML file and
> formats them to display on a webpage.  When going to print these, I
> simply sent the canvas to the printer.  However, the side of the
> coupons are cut off.  Is there a way to shrink what is sent to the
> printer (without getting too complex) or a way to export the entire
> canvas as a JPG and resize that prior to being sent to the printer?
>
> Thanks for any suggestions.
>
> 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