 
         var arrPrintData:Array = prepareToPrintObject(obj);
 
-        if (obj is Application)
+        if ((applicationClass && obj is applicationClass) || 
+            (fxApplicationClass && obj is fxApplicationClass))
         {
             objWidth *= ratio;
             objHeight *= ratio;

import flash.geom.Rectangle;
import flash.printing.PrintJob;
import flash.printing.PrintJobOptions;
import mx.core.Application;
import mx.core.IFlexDisplayObject;
import mx.core.IUIComponent;
import mx.core.UIComponent;

        obj.scaleX /= ratio;
        obj.scaleY /= ratio;

        if ((applicationClass && obj is applicationClass) || 
            (fxApplicationClass && obj is fxApplicationClass))
        {
            if (!isNaN(appExplicitWidth)) //&& !isNaN(appExplicitHeight))
            {
