3 Replies Latest reply on Jun 10, 2009 1:00 AM by EgorKDie

    Printing without showing Print Dialog

    de5a1n7 Level 1

      Hi,

       

      Is it possible to have Flex Adobe AIR application to print using the default printer without prompting the Print Dialog?

       

      Thanks...

        • 1. Re: Printing without showing Print Dialog
          EgorKDie Level 2

          No because then you would have Flash advertising coming out of your printer as well as your screen without asking for it!

           

          Basically, the Flash Player security model restricts you from doing pretty much anything unless it's based off user interaction.

          • 2. Re: Printing without showing Print Dialog
            de5a1n7 Level 1

            But AIR is for desktop, it has the Adobe AIR FileSystem component shouldn't it have the AIR print component which is separated from flash?

            • 3. Re: Printing without showing Print Dialog
              EgorKDie Level 2

              Whoops, missed the AIR bit You might want to check out the Merapi project.

               

              I agree with you though, AIR should have some security restrictions reduced(such as silent printing), but if anything, Adobe has gone the other way and been more paranoid about security on the desktop. "Remote code executing natively" and all that.

               

              On a technical front, OS interaction deeper than what we have already would be time consuming as each of the OS (windows, mac, linux) that is supported by the AIR runtime would need to implement the behaviour differently.

               

              All we can do is keep pushing for feature requests for AIR 2.x

               

              Or keep using Merapi for this sort of thing.