# PrintJob and Sprite madness

**URL:** https://forum.kirupa.com/t/printjob-and-sprite-madness/277916
**Category:** flash
**Created:** [December 18, 2008, 7:07pm UTC](https://forum.kirupa.com/t/printjob-and-sprite-madness/277916 "2008-12-18T19:07:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Voursez](https://avatars.discourse-cdn.com/v4/letter/v/b5ac83/32.png) [@Voursez](https://forum.kirupa.com/u/Voursez)
#### Post date: [December 18, 2008, 7:07pm UTC](https://forum.kirupa.com/t/printjob-and-sprite-madness/277916/1 "2008-12-18T19:07:49Z")

</div>

Hey Kirupians

Im playing around with the PrintJob class, but Im having some troubles. The size of the user-created print is A6, and the plan was to duplicate this 4 times to fill out a whole A4-page.

The problem is that Im new in AS3, and my good old duplicatemovieclip function is gone. I have no clue on how to duplicate an instance of a mc, and insert them into a sprite. My code so far only prints a single A6:

[AS]  
function doPrint(event:MouseEvent):void{  
var holder:Sprite = new Sprite();  
addChild(holder);  
spriter.addChild(display\_mc);  
var printer:PrintJob = new PrintJob();  
printer.start();  
printer.addPage(spriter);  
printer.send();  
}  
[/AS]
