# How to alter this print script

**URL:** <https://forum.kirupa.com/t/how-to-alter-this-print-script/199224>\
**Category:** flash\
**Created:** [August 31, 2006, 7:50pm UTC](https://forum.kirupa.com/t/how-to-alter-this-print-script/199224 "2006-08-31T19:50:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoakimN73](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@JoakimN73](https://forum.kirupa.com/u/JoakimN73)\
**Post date:** [August 31, 2006, 7:50pm UTC](https://forum.kirupa.com/t/how-to-alter-this-print-script/199224/1 "2006-08-31T19:50:46Z")

</div>

Hi!  
I found this piece of code:

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;  
}

I want to alter it. My document dimensions are 800 px width and 500 px height. I want to print the whole page and not a enlargement. How can this be done?

Please help me out on this one…

/Joakim
