For scaling use printJob and not flexprintJob... There is a small code
on my blog if you wish to use

flex-lcds.blogspot.com

On Apr 8, 5:56 pm, Claudio Corlatti <[email protected]> wrote:
> Hello everybody, i'm having some problems printing using the
> FlexPrintJob class.
> I'm trying here to scale a canvas object and then print it, in order
> to scale I'm using the scaleX and scaleY properties.
> The problem is that in the screen I see the canvas bigger, but, in the
> other hand, on printed version i didn't see any changes. I mean the
> canvas kept the original size ignoring the scale changes.
>
> Here is the code that i'm working on:
>
> //changing canvas scale
> this.myCanvas.scaleX = 1.85;
> this.myCanvas.scaleY = 1.85;
> this.myCanvas.setStyle("backgroundColor","#FFFFFF");
> this.myCanvas.validateNow();
> //print
> var print:FlexPrintJob = new FlexPrintJob();
> if(print.start()){
>        print.addObject(this.myCanvas,FlexPrintJobScaleType.NONE);
>        print.send();
>
> }
>
> Could anyone help me? There are any limitations about scaling and
> printing that i should know?
>
> Thanks in advance
> Claudio

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to