0 Replies Latest reply on Feb 4, 2008 7:30 AM by XXIlladelphia

    PrintJob()

    XXIlladelphia
      I have printableNote, which is a sprite.

      I try to do this:

      printableNote.graphics.beginFill(0xffffff);
      printableNote.graphics.lineStyle(1, 0x000000);
      printableNote.graphics.drawRect(0, 0, 100, 200);
      printableNote.graphics.endFill();

      var pj:PrintJob = new PrintJob();
      pj.start();
      addChild(printableNote);
      pj.addPage(printableNote);
      pj.send();
      removeChild(printableNote);
      delete pj;

      I only put in relevant code.

      When I run this, it just prints a gray square on the paper, if I preview before I print, it just shows me a blue square.