I can’t seems to make it print correctly.
I used this script:
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?