I have on MC in Library. And my stage has (865 X 865) size. Their are other MCs also in Library with diff print sizes.
There is a print button in each MC. For eg, I am attaching MC, A to the stage having width and height - (596 X 842) pixels.
Following is the script written over the Print Button which is not working …can anyone HELP or give any suggession over it
onRelease(){
var my_pj = new PrintJob();
var myResult = my_pj.start();
if(myResult){
myResult = my_pj.addPage("_root.A", {xMin:0, xMax:596, yMin:0; yMax:842}, 1);
my_pj send();
}
delete my_pj;
}
A MC contains a report generated using XML file. Can u also give me some inputs, how do I print Multiple Pages by giving just a sinlge click on the button. :hat:
Thanx
Ashish