# Multipage printing in flash

**URL:** <https://forum.kirupa.com/t/multipage-printing-in-flash/226827>\
**Category:** Uncategorized\
**Created:** [May 24, 2007, 11:23am UTC](https://forum.kirupa.com/t/multipage-printing-in-flash/226827 "2007-05-24T11:23:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![indian\_blues](https://avatars.discourse-cdn.com/v4/letter/i/48db29/32.png) [@indian\_blues](https://forum.kirupa.com/u/indian_blues)\
**Post date:** [May 24, 2007, 11:23am UTC](https://forum.kirupa.com/t/multipage-printing-in-flash/226827/1 "2007-05-24T11:23:45Z")

</div>

Hi folks, i have a very long movieclip and i need to take printout. how printjob class is used take printout(multiple page)?

var printJob: PrintJob = new PrintJob();  
if (printJob.start())  
{  
var numPages:Number = 0;  
if (printJob.addPage(mc))  
{  
trace(numPages)  
numPages ++;  
}  
// etc.  
if (numPages\> 0)  
{  
trace(‘sending…’);  
printJob.send(); // print page(s)  
}  
}  
delete printJob;

i’m using this code but it takes only one page… ☹

anyhelp will be appreciated.

Thanks.
