# Set print Size problem?

**URL:** <https://forum.kirupa.com/t/set-print-size-problem/317602>\
**Category:** flash\
**Created:** [December 27, 2010, 9:15am UTC](https://forum.kirupa.com/t/set-print-size-problem/317602 "2010-12-27T09:15:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sempase](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@sempase](https://forum.kirupa.com/u/sempase)\
**Post date:** [December 27, 2010, 9:15am UTC](https://forum.kirupa.com/t/set-print-size-problem/317602/1 "2010-12-27T09:15:03Z")

</div>

There is an output that fits in A4 papersize with a resolution of 827x1169px. I trigger a print function via Flash AS3

///Print Functions  
var printArea:Rectangle = new Rectangle(0, 0, 827, 1169);  
var pjoptions2:PrintJobOptions = new PrintJobOptions ();  
pjoptions2.printAsBitmap = true;  
var pj2:PrintJob = new PrintJob();  
pj2.start();

pj2.addPage( this, printArea, pjoptions2);  
pj2.send();

But the printout does not fit on A4 paper size (it tries to print larger and can see only a small portion on the paper). How can I arrange this with AS3?

Thanks in advance.
