I remember in AS2 I created an array of movieclips with print content and then print the array one by one. Each array entry was a movie clip object. I had to manually measure when the movieclip is to high, then create another one, etc.
Now from the livedocs: The PrintJob class hasn't changed dramatically for the ActionScript 3.0 implementation of printing. However, a few critical differences are worth noting: * The PrintJob.addPage() method now takes a Sprite and a Rectangle object for the first two parameters. So, I would manually measure the height of the sprite each time i add a word or a character to it, if it's too high I would create another sprite with textfield inside and continue with the remaining text. There might be better ways to do it in AS3, I haven't tried any printing yet. --- In flexcoders@yahoogroups.com, "Paul Steven" <[EMAIL PROTECTED]> wrote: > > Still desperately trying to find a solution to this! > > > > How can I print a text field that contains more than one page worth of text > over multiple pages? > > > > Thanks > > > > Paul > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Paul Steven > Sent: 29 November 2007 20:30 > To: flexcoders@yahoogroups.com > Subject: [SPAM] [flexcoders] Printing a large string over multiple pages > > > > I am printing a large string and it is only printing one page worth of the > string data. Ideally I would like it to print the entire string using as > many pages as it requires to print out the entire contents. Any help much > appreciated!! > > > > This is my print function code: > > > > private function doPrint():void { > > > > > var printJob:FlexPrintJob = new FlexPrintJob(); > > > > var formPrintView:SubmissionReport = new SubmissionReport(); > > addChild(formPrintView); > > > > > var todayDate:Date = new Date(); > > > > formPrintView.detailUsername.text = > _session.getSessionUsername(); > > formPrintView.detailDate.text = String(todayDate); > > formPrintView.detailcontent.text = > _session.returnSubmissionReportText() > > > > printJob.start(); > > > > printJob.addObject(formPrintView); > > > > > printJob.send(); > > > > > removeChild(formPrintView); > > > > > > } >