# I can't make my printing right

**URL:** <https://forum.kirupa.com/t/i-cant-make-my-printing-right/240576>\
**Category:** flash\
**Created:** [October 4, 2007, 4:58am UTC](https://forum.kirupa.com/t/i-cant-make-my-printing-right/240576 "2007-10-04T04:58:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adiboy](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@adiboy](https://forum.kirupa.com/u/adiboy)\
**Post date:** [October 4, 2007, 4:58am UTC](https://forum.kirupa.com/t/i-cant-make-my-printing-right/240576/1 "2007-10-04T04:58:46Z")

</div>

I can’t seems to make it print correctly.

I used this script:

```auto
on(release){

var pageCount:Number = 0; //page count variable
var printJob:PrintJob = new PrintJob(); //new print job class instance
if (printJob.start()) //if the print job was started

{
if (printJob.addPage(_root.FM, {xMin:0, xMax:400, yMin:0, yMax:400}, {printAsBitmap:true}, 1))
{
pageCount++; //increment the page count
}
}
if (pageCount>0) //if there is at least one page to print
{
printJob.send(); //send the print job to printer
}
delete printJob; //remove the print job when done
}

```

The stage is in landscape.  
What the code does is to print in portrait.  
Anyone knows how to make it changed to landscape?
