title: Printing movieclip with margin
body: <p>Could someone help me to print a movie clip with custom margin for the paper(A4). I figured the as2 for print.How could I set margin for the print.?</p>
  
  <pre><code>btnPrint.onPress = function()
  {
  var pj = new PrintJob();
  var success = pj.start();
  if (success)
  {
      //Centered Variables
      var mc_width:Number = _root.my_mc._width / 2;
      var mc_height:Number = _root.my_mc._height / 2;
  
      var xHalfMax:Number = (pj.pageWidth / 2);
      var yHalfMax:Number = (pj.pageHeight / 2);
      var xHalfMin:Number = xHalfMax * -1;
      var yHalfMin:Number = yHalfMax * -1;
  
      pj.addPage("game",{xMin:xHalfMin, xMax:xHalfMax, yMin:yHalfMin,   yMax:yHalfMax});
      pj.send();
  }
  delete pj;
  };
  </code></pre>