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);

                                                                

                                                                

}

 

 

 

Reply via email to