# PrintJob Class - printing black from PC

**URL:** https://forum.kirupa.com/t/printjob-class-printing-black-from-pc/226173
**Category:** flash
**Created:** [May 18, 2007, 3:47pm UTC](https://forum.kirupa.com/t/printjob-class-printing-black-from-pc/226173 "2007-05-18T15:47:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![BrAnDX105](https://avatars.discourse-cdn.com/v4/letter/b/85e7bf/32.png) [@BrAnDX105](https://forum.kirupa.com/u/BrAnDX105)
#### Post date: [May 18, 2007, 3:47pm UTC](https://forum.kirupa.com/t/printjob-class-printing-black-from-pc/226173/1 "2007-05-18T15:47:05Z")

</div>

If anyone can help me, or has seen this problem before I would be a very happy person! I built a custom print feature for an interactive map that prints the current area of the map you are viewing. The feature works perfectly on a Mac, and everything prints out great. Yet when I try and print on a PC the main area of the map I am printing prints out black.

I have literally tried everything, swapping the MC to the highest possible depth before it prints and swapping it back after. I tried removing all masking to see if it would print. I tried printing the clips embedded within \_level0 that contain the map, and even the MC’s inside of those. All of this to no avail though. Which leads me here to see if anyone has run into a similar problem and found a potential solution.

Here’s the URL for you to check out is here:

> **[Explore University Circle](http://www.universitycircle.org/map/interactive_map-adv_print2.html)**
>
> Welcome to University Circle home to worldrenowned museums prestigious universities nationally recognized hospitals eclectic restaurants beautiful parks and cozy spaces Start exploring today

The code I used for printing is below (thisLevel is set to the \_root of the movie for preloader purposes, so just think of that as \_root):

```auto
printCurrent = function(){
    var mapPrint:PrintJob = new PrintJob();
    var myPrintSuccess:Boolean = mapPrint.start();
    if(myPrintSuccess{
        if(mapPrint.orientation == "landscape"){
            trace("landscape");
            mapPrint.addPage(thisLevel,{xMin:11,xMax:739,yMin:63,yMax:523});
            mapPrint.send();
        }
        else if(mapPrint.orientation == "portrait"){
            trace("portrait");
            thisLevel._rotation = 90; //rotates map to print properly in portrait
            mapPrint.addPage(thisLevel,{xMin:11,xMax:739,yMin:63,yMax:523});
            mapPrint.send();
            thisLevel._rotation = 0;
        }
    }
    delete mapPrint;
}

```
