Creo que el siguiente codigo te podria servir:
Código :
imprimir_btn.onRelease = function(){
hideButtons();
my_pj = new PrintJob();
var myResult;
var currentFrame;
var totalFrames = 5;
myResult = my_pj.start();
for(currentFrame=1;currentFrame<=totalFrames;currentFrame++){
myResult=my_pj.addPage(0,{xMin:0,xMax:1000,yMin:0,yMax:1000},null,currentFrame);
}
my_pj.send();
delete my_pj;
revealButtons();
}
Saludos