# Print scrolling text field

**URL:** https://forum.kirupa.com/t/print-scrolling-text-field/292738
**Category:** flash
**Created:** [July 18, 2009, 6:19am UTC](https://forum.kirupa.com/t/print-scrolling-text-field/292738 "2009-07-18T06:19:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![spectator](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@spectator](https://forum.kirupa.com/u/spectator)
#### Post date: [July 18, 2009, 6:19am UTC](https://forum.kirupa.com/t/print-scrolling-text-field/292738/1 "2009-07-18T06:19:39Z")

</div>

Hello i load data from xml file and i show the content. But if i try to print the field, it prints only the visible area. I have tried to do this with counting how many signs could i print in one page but there is a problem when i have new empty line. How can i print the data from the field on several pages. Thank you in advance. This is my code.

```auto
function BasicPrintExample(event:MouseEvent) {
	
	var txt:TextField = new TextField();
    		 txt.height = 1000;
            txt.width = 500;
			txt.x = 50;
			txt.y = 50;
            txt.wordWrap = true;
            txt.text = bad_data;
			var sheet:MovieClip = new MovieClip();
			var basic:MovieClip = new MovieClip();
	 sheet.graphics.beginFill(0xEEEEEE);
            sheet.graphics.lineStyle(1, 0x000000);
            sheet.graphics.drawRect(0,0, 596, 1000);
            sheet.graphics.endFill();
   sheet.addChild(txt);
	
	
	mySprite.addChild(sheet);
	myPrintJob.start();
	myPrintJob.addPage(mySprite);
	myPrintJob.send();
}

```

:cantlook:
