# printJob Class help

**URL:** https://forum.kirupa.com/t/printjob-class-help/214549
**Category:** flash
**Created:** [January 30, 2007, 12:31am UTC](https://forum.kirupa.com/t/printjob-class-help/214549 "2007-01-30T00:31:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Flash\_Man1](https://avatars.discourse-cdn.com/v4/letter/f/8797f3/32.png) [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)
#### Post date: [January 30, 2007, 12:31am UTC](https://forum.kirupa.com/t/printjob-class-help/214549/1 "2007-01-30T00:31:14Z")

</div>

Hey all,

my printJob Class works perfectly till the point of where my mask stops…

currently it is set up like so:

1. MC with textfield in it.
2. Textfield has a mask over it with a scroller.
3. print button
4. when it prints i have scaled my document and i get a few lines more but still not the whole textfield.

here is my code:

```auto
var printbutt:TextField = this.createTextField("printbutt", this.getNextHighestDepth(), 0, 0, 0, 0);
printbutt.autoSize = "left";
printbutt.border = true;
printbutt.selectable = false;
printbutt.html = true;
printbutt.htmlText = "<a href='asfunction:startPrint'>PRINT</a>";
var tField:TextField = contentMain;
function startPrint():Void {
    var pjTheAgency:PrintJob = new PrintJob();
    if (pjTheAgency.start()) {
        tField._yscale = 100*pjTheAgency.pageHeight/tField._height;
        tField._xscale = tField._yscale;
        pjTheAgency.addPage(contentMain);
    }
    pjTheAgency.send();
    tField._xscale = 100;
    tField._yscale = 100;
    delete pjTheAgency;
}

```

any help would be great

ps. “it only prints a paragraph more past the end of my mask, and my mask is a dynamic mask”

Cheers all,
