# Simple PrintJob question

**URL:** <https://forum.kirupa.com/t/simple-printjob-question/279823>\
**Category:** flash\
**Created:** [January 19, 2009, 6:49pm UTC](https://forum.kirupa.com/t/simple-printjob-question/279823 "2009-01-19T18:49:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrbelv](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@mrbelv](https://forum.kirupa.com/u/mrbelv)\
**Post date:** [January 19, 2009, 6:49pm UTC](https://forum.kirupa.com/t/simple-printjob-question/279823/1 "2009-01-19T18:49:09Z")

</div>

I’m having some trouble getting a Sprite to print. I’ve made a test file just to see if I can get a basic print job to work:

```auto
 
printBtn.buttonMode = true;
printBtn.addEventListener(MouseEvent.MOUSE_UP, printReport);
var testSprite:Sprite = new Sprite;
addChild(testSprite);
 
function printReport(e:MouseEvent):void {
 var pj:PrintJob = new PrintJob();
 pj.start(); 
 pj.addPage(testSprite);
 pj.send();
}

```

It seems to me that’s about as simple as you can get.

I get the following error no matter what I do:

Error #2057: The page could not be added to the print job.

Obviously I am overlooking something here.
