# PrintJob only prints Scene 1

**URL:** https://forum.kirupa.com/t/printjob-only-prints-scene-1/178823
**Category:** flash
**Created:** [February 14, 2006, 3:50pm UTC](https://forum.kirupa.com/t/printjob-only-prints-scene-1/178823 "2006-02-14T15:50:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![5leander5](https://avatars.discourse-cdn.com/v4/letter/5/c2a13f/32.png) [@5leander5](https://forum.kirupa.com/u/5leander5)
#### Post date: [February 14, 2006, 3:50pm UTC](https://forum.kirupa.com/t/printjob-only-prints-scene-1/178823/1 "2006-02-14T15:50:38Z")

</div>

I am using the following code to print frame 21 in Scene 2 of my application. However, when the button is pressed, it reverts back to Scene 1 and prints frame 21 from that. How can I correct this???

on (Release) {  
var pj = new PrintJob();  
var success = pj.start();  
if(success)  
{  
pj.addPage(0,{xMin:130, xMax:930, yMin:0, yMax:1100}, {printAsBitmap:false}, 21);  
pj.send();  
}  
delete pj;  
}

Can someone please help…
