1 Reply Latest reply on Jun 9, 2006 4:02 AM by Newsgroup_User

    problem with printing from an URL

    jonsaul


      Hi, my first post on this forum......so hello everyone !!

      Im trying to print a file on my server from a flash app, I have been using the printJob class.


      This function always spools the whole of my parent .swf file and not the file pointed at by the URL(a.pdf).
      Is this possible ? what changes do I need to make ??

      Thanks everyone !!
        • 1. Re: problem with printing from an URL
          Level 7
          i don't think the addPage method can put an external document in the
          printing queue, just Flash content

          probably you'll have to wait for Adobe releasing Apollo

          jonsaul wrote:

          >
          >
          > Hi, my first post on this forum......so hello everyone !!
          >
          > Im trying to print a file on my server from a flash app, I have been using the
          > printJob class.
          >
          >
          > This function always spools the whole of my parent .swf file and not the file
          > pointed at by the URL(a.pdf).
          > Is this possible ? what changes do I need to make ??
          >
          > Thanks everyone !!
          >
          > bar_mc.print_btn.onRelease = function():Void{
          >
          > var pj = new PrintJob();
          > var success = pj.start();
          > if(success)
          > {
          > //pj.addPage (0, {xMin : 0, xMax: 400: yMin: 0, yMax: 400});
          >
          > pj.addPage(" http://www.waringcollins.com/wsademomag/pdfs/test.pdf", {xMin :
          > -300, xMax: 300, yMin: 400, yMax: 800});
          > pj.send();
          > }
          > delete pj;
          >
          > };
          >