# Set print Size problem?

**URL:** <https://forum.kirupa.com/t/set-print-size-problem/317603>\
**Category:** Uncategorized\
**Created:** [December 27, 2010, 9:15am UTC](https://forum.kirupa.com/t/set-print-size-problem/317603 "2010-12-27T09:15:59Z")\
**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/317603/1 "2010-12-27T09:15:59Z")

</div>

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

```auto
///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.
