Karl, It'll work in either AS2 or AS3. Ian
On Fri, Oct 23, 2009 at 9:41 PM, Karl DeSaulniers <[email protected]> wrote: > Hi Ian, > Is this an AS3 examlpe, or can that be done in AS2? > > Karl > > Sent from losPhone > > On Oct 23, 2009, at 11:33 AM, Ian Thomas <[email protected]> wrote: > >> 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 > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

