I have a dynamic text field that is populated by XML. I have a simple print MC that loads the text into a dynamic text box and prints using the code below. It prints well, however sometimes there will be more than one pages worth of text drawn from the XML.
I can work out a way of printing to multiple pages if the text is too long for one page. Right now it just cuts of the text that doesn't fit. Is there someway of checking how many lines there are and splitting the text up or someway of forcing multiple pages?
var pj = new PrintJob();
var success = pj.start();