# Can't get printJob orientation property to work

**URL:** <https://forum.kirupa.com/t/cant-get-printjob-orientation-property-to-work/219536>\
**Category:** flash\
**Created:** [March 17, 2007, 3:54pm UTC](https://forum.kirupa.com/t/cant-get-printjob-orientation-property-to-work/219536 "2007-03-17T15:54:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![schmichael](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@schmichael](https://forum.kirupa.com/u/schmichael)\
**Post date:** [March 17, 2007, 3:54pm UTC](https://forum.kirupa.com/t/cant-get-printjob-orientation-property-to-work/219536/1 "2007-03-17T15:54:09Z")

</div>

Hello there, I am trying to enable printing of a page from a flash website i am working on. The only property I need to alter is the orientation property of the printJob object. I have tried setting this but it will not work. I have also tried another alternative suggested on the forums here of rotating the movieclip -90 but this just gives me a blank sheet! (I am not sure if this is because I am printing the root).  
If anyone could let me know how to get this to work I would be really grateful 🙂  
Have a good weekend  
Here’s my code:  
[AS]  
\_root.my\_btn.onRelease = function() {  
var pageCount:Number = 0;  
var my\_pj:PrintJob = new PrintJob();  
if (my\_pj.start()) {  
this.\_parent.bgnd\_mc.\_visible = false;  
this.\_parent.\_xscale = 95;  
this.\_parent.\_yscale = 95;  
if (my\_pj.addPage(0)) {  
this.\_parent.bgnd\_mc.\_visible = true;  
this.\_parent.\_xscale = 100;  
this.\_parent.\_yscale = 100;  
pageCount++;  
}  
}  
my\_pj.orientation = “landscape”;  
if (pageCount\>0) {  
my\_pj.send();  
}  
delete my\_pj;  
};  
[/AS]
