Thanks guys

Steven, I've played around with your code and got it working on my setup but will need to test later in the day on the computer/printer combination that was causing the problems.

I needed to modify it though because your code assumes the clip is scaled at 100% to start with. In my case it's not.

You could make your code more generic by adding at the start...

var originalScale:Number = mc._xscale;
mc._xscale = mc._yscale = 100;

...and then after printing, instead of setting the scale back to 100...

mc._xscale = mc._yscale = originalScale;


Or there's probably a way of leaving the scale as it is and fiddling around with the maths in the rest of the code - but that's too hard for this time of day!

Cheers

David



On 2/05/2007, at 9:31 PM, Steven Sacks wrote:

I cover this topic on my blog.  :)

http://www.stevensacks.net/2007/03/16/force-landscape-printing-with- printjob/
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to