RE: [Flashcoders] PrintJob Landscape printing with Portrait

2006-01-18 Thread Steven Sacks
Here is a refined version of my function: function printImage(mc) { var realW = mc._width; var realH = mc._height; pj = new PrintJob(); var pageCount = 0; if (pj.start()) { var cXscale, cYscale; if

[Flashcoders] PrintJob Landscape printing with Portrait

2006-01-17 Thread Steven Sacks
Hello everyone, I'm posting this here in order to provide another solution to the terrible misinformation available on Macromedia's site about how to convert a landscape image to portrait for printing using the PrintJob class. The code posted here at Macromedia's forums is VERY WRONG: