How to print image from wifi printer?Bluetooth and WIFI Printing for AndroidHow to save an Android Activity state using save instance state?Lazy load of images in ListViewWhy is the Android emulator so slow? How can we speed up the Android emulator?Stop EditText from gaining focus at Activity startupBluetooth and WIFI Printing for AndroidHow do I fix android.os.NetworkOnMainThreadException?Android ESC/POS Printing Over WiFihow find list of all available WiFi printers in androidEmulate Zebra Printer for Zebra Browser PrintERROR_WRONG_LABEL while print via WIFI using Android's BROTHER SDK

Could a planet have a naturally occuring moon at one of its Lagrange points?

A scene of Jimmy diversity

Is this more than a packing puzzle?

Why aren't globular clusters disk shaped

What made Windows ME so crash-prone?

Why do candidates not quit if they no longer have a realistic chance to win in the 2020 US presidents election

When does Fisher's "go get more data" approach make sense?

I have accepted an internship offer. Should I inform companies I have applied to that have not gotten back to me yet?

Why should I cook the flour first when making bechamel sauce?

What alternatives exist to at-will employment?

Did 007 exist before James Bond?

What are the arguments for California’s nonpartisan blanket (jungle) primaries?

Accidentally deleted python and yum is not working in centos7

Using two linked programs, output ordinal numbers up to n

When to ask for constructive criticism?

In special relativity is mass just a measure of all other energy than kinetic?

Do First Order blasters maintain a record of when they were fired?

Why does the Earth have a z-component at the start of the J2000 epoch?

What to look for in climbing shoes?

Is there an English equivalent for "Les carottes sont cuites", while keeping the vegetable reference?

pgfkeys: .store in constructed macro

In Adventurers League, is there any way for an 5th-level wizard to gain heavy armor proficiency?

Will it hurt my career to work as a graphic designer in a startup for beauty and skin care?

What is the technical explanation of the note "A♭" in a F7 chord in the key of C?



How to print image from wifi printer?


Bluetooth and WIFI Printing for AndroidHow to save an Android Activity state using save instance state?Lazy load of images in ListViewWhy is the Android emulator so slow? How can we speed up the Android emulator?Stop EditText from gaining focus at Activity startupBluetooth and WIFI Printing for AndroidHow do I fix android.os.NetworkOnMainThreadException?Android ESC/POS Printing Over WiFihow find list of all available WiFi printers in androidEmulate Zebra Printer for Zebra Browser PrintERROR_WRONG_LABEL while print via WIFI using Android's BROTHER SDK






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








7















I am working on an app in which there is an option to print the badges.
Currently I am using BrotherPrinterSDK but it will restrict the functionality for Brother Printers only.



Can anyone help me with a demo to find a list of nearby wifi printers and print by selecting any one of them?



Moreover Brother Printer SDK is not working properly in the versions above marshmallow. So I want to switch to some other method










share|improve this question






















  • Did you read this? See if it could be of any help.

    – shadowsheep
    Mar 19 at 17:24

















7















I am working on an app in which there is an option to print the badges.
Currently I am using BrotherPrinterSDK but it will restrict the functionality for Brother Printers only.



Can anyone help me with a demo to find a list of nearby wifi printers and print by selecting any one of them?



Moreover Brother Printer SDK is not working properly in the versions above marshmallow. So I want to switch to some other method










share|improve this question






















  • Did you read this? See if it could be of any help.

    – shadowsheep
    Mar 19 at 17:24













7












7








7


1






I am working on an app in which there is an option to print the badges.
Currently I am using BrotherPrinterSDK but it will restrict the functionality for Brother Printers only.



Can anyone help me with a demo to find a list of nearby wifi printers and print by selecting any one of them?



Moreover Brother Printer SDK is not working properly in the versions above marshmallow. So I want to switch to some other method










share|improve this question














I am working on an app in which there is an option to print the badges.
Currently I am using BrotherPrinterSDK but it will restrict the functionality for Brother Printers only.



Can anyone help me with a demo to find a list of nearby wifi printers and print by selecting any one of them?



Moreover Brother Printer SDK is not working properly in the versions above marshmallow. So I want to switch to some other method







android printers






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 26 at 6:49









Kartika VijKartika Vij

5815 bronze badges




5815 bronze badges












  • Did you read this? See if it could be of any help.

    – shadowsheep
    Mar 19 at 17:24

















  • Did you read this? See if it could be of any help.

    – shadowsheep
    Mar 19 at 17:24
















Did you read this? See if it could be of any help.

– shadowsheep
Mar 19 at 17:24





Did you read this? See if it could be of any help.

– shadowsheep
Mar 19 at 17:24












3 Answers
3






active

oldest

votes


















3





+25









Mopria Alliance is an open system for printing to wi-fi and networked printers.
How to Print with Mopria
Their driver (which is an app) is Here



In your app, on startup, you can check if Mopria is installed, and send them to the Mopria App, if not.



In your app, add a "Print" menu option or button, and have it open the Mopria Printers tab, which will search for local devices. Your app will likely want permissions to turn on Wi-Fi if it is not on (this doesn't sound like a problem from your description).



I did some testing on this a couple years ago, so I will look for some demo code when I get home.






share|improve this answer























  • I dont want my printing to be dependent on some other app

    – Kartika Vij
    Mar 20 at 5:44











  • I understand being dependent on another app; in that case, you basically have to write a "Universal Print Driver", which is what Mopria did. I understood your question to say you had an Issue with Brother (which we did too), not Printer Driver Apps in general. We settled on (and suggested customers use) several models of laser printer and we used Mopria. It was simply faster to develop and release our product.

    – FederOnline
    Mar 20 at 17:18











  • Can you share some code?

    – Kartika Vij
    Mar 22 at 4:53











  • Yep, I quit looking since it wasn't the direction you want to go...

    – FederOnline
    Mar 25 at 13:54


















1














Best option so far is using Google cloud printing



so no need relay on other third party apps, but user must add there printer with his own google id



ref:https://www.google.com/cloudprint/learn/index.html



As mention here https://www.google.com/cloudprint/learn/printers/ they support wide range of printers,



To make it programmatically check
https://developers.google.com/cloud-print/docs/android






share|improve this answer
































    0














    In my experience when using a Wi-Fi printer you should use the specific SDK provided by printer's manufactures. It's easy and prints faster than any other app dependent SDK. In case SDK is not working may be because of some permissions that you need to ask on run time as Android 6 and above need user to accept some permissions like Contact, SMS etc. you can look here for that.






    share|improve this answer

























      Your Answer






      StackExchange.ifUsing("editor", function ()
      StackExchange.using("externalEditor", function ()
      StackExchange.using("snippets", function ()
      StackExchange.snippets.init();
      );
      );
      , "code-snippets");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "1"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54879840%2fhow-to-print-image-from-wifi-printer%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3





      +25









      Mopria Alliance is an open system for printing to wi-fi and networked printers.
      How to Print with Mopria
      Their driver (which is an app) is Here



      In your app, on startup, you can check if Mopria is installed, and send them to the Mopria App, if not.



      In your app, add a "Print" menu option or button, and have it open the Mopria Printers tab, which will search for local devices. Your app will likely want permissions to turn on Wi-Fi if it is not on (this doesn't sound like a problem from your description).



      I did some testing on this a couple years ago, so I will look for some demo code when I get home.






      share|improve this answer























      • I dont want my printing to be dependent on some other app

        – Kartika Vij
        Mar 20 at 5:44











      • I understand being dependent on another app; in that case, you basically have to write a "Universal Print Driver", which is what Mopria did. I understood your question to say you had an Issue with Brother (which we did too), not Printer Driver Apps in general. We settled on (and suggested customers use) several models of laser printer and we used Mopria. It was simply faster to develop and release our product.

        – FederOnline
        Mar 20 at 17:18











      • Can you share some code?

        – Kartika Vij
        Mar 22 at 4:53











      • Yep, I quit looking since it wasn't the direction you want to go...

        – FederOnline
        Mar 25 at 13:54















      3





      +25









      Mopria Alliance is an open system for printing to wi-fi and networked printers.
      How to Print with Mopria
      Their driver (which is an app) is Here



      In your app, on startup, you can check if Mopria is installed, and send them to the Mopria App, if not.



      In your app, add a "Print" menu option or button, and have it open the Mopria Printers tab, which will search for local devices. Your app will likely want permissions to turn on Wi-Fi if it is not on (this doesn't sound like a problem from your description).



      I did some testing on this a couple years ago, so I will look for some demo code when I get home.






      share|improve this answer























      • I dont want my printing to be dependent on some other app

        – Kartika Vij
        Mar 20 at 5:44











      • I understand being dependent on another app; in that case, you basically have to write a "Universal Print Driver", which is what Mopria did. I understood your question to say you had an Issue with Brother (which we did too), not Printer Driver Apps in general. We settled on (and suggested customers use) several models of laser printer and we used Mopria. It was simply faster to develop and release our product.

        – FederOnline
        Mar 20 at 17:18











      • Can you share some code?

        – Kartika Vij
        Mar 22 at 4:53











      • Yep, I quit looking since it wasn't the direction you want to go...

        – FederOnline
        Mar 25 at 13:54













      3





      +25







      3





      +25



      3




      +25





      Mopria Alliance is an open system for printing to wi-fi and networked printers.
      How to Print with Mopria
      Their driver (which is an app) is Here



      In your app, on startup, you can check if Mopria is installed, and send them to the Mopria App, if not.



      In your app, add a "Print" menu option or button, and have it open the Mopria Printers tab, which will search for local devices. Your app will likely want permissions to turn on Wi-Fi if it is not on (this doesn't sound like a problem from your description).



      I did some testing on this a couple years ago, so I will look for some demo code when I get home.






      share|improve this answer













      Mopria Alliance is an open system for printing to wi-fi and networked printers.
      How to Print with Mopria
      Their driver (which is an app) is Here



      In your app, on startup, you can check if Mopria is installed, and send them to the Mopria App, if not.



      In your app, add a "Print" menu option or button, and have it open the Mopria Printers tab, which will search for local devices. Your app will likely want permissions to turn on Wi-Fi if it is not on (this doesn't sound like a problem from your description).



      I did some testing on this a couple years ago, so I will look for some demo code when I get home.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Mar 19 at 17:09









      FederOnlineFederOnline

      637 bronze badges




      637 bronze badges












      • I dont want my printing to be dependent on some other app

        – Kartika Vij
        Mar 20 at 5:44











      • I understand being dependent on another app; in that case, you basically have to write a "Universal Print Driver", which is what Mopria did. I understood your question to say you had an Issue with Brother (which we did too), not Printer Driver Apps in general. We settled on (and suggested customers use) several models of laser printer and we used Mopria. It was simply faster to develop and release our product.

        – FederOnline
        Mar 20 at 17:18











      • Can you share some code?

        – Kartika Vij
        Mar 22 at 4:53











      • Yep, I quit looking since it wasn't the direction you want to go...

        – FederOnline
        Mar 25 at 13:54

















      • I dont want my printing to be dependent on some other app

        – Kartika Vij
        Mar 20 at 5:44











      • I understand being dependent on another app; in that case, you basically have to write a "Universal Print Driver", which is what Mopria did. I understood your question to say you had an Issue with Brother (which we did too), not Printer Driver Apps in general. We settled on (and suggested customers use) several models of laser printer and we used Mopria. It was simply faster to develop and release our product.

        – FederOnline
        Mar 20 at 17:18











      • Can you share some code?

        – Kartika Vij
        Mar 22 at 4:53











      • Yep, I quit looking since it wasn't the direction you want to go...

        – FederOnline
        Mar 25 at 13:54
















      I dont want my printing to be dependent on some other app

      – Kartika Vij
      Mar 20 at 5:44





      I dont want my printing to be dependent on some other app

      – Kartika Vij
      Mar 20 at 5:44













      I understand being dependent on another app; in that case, you basically have to write a "Universal Print Driver", which is what Mopria did. I understood your question to say you had an Issue with Brother (which we did too), not Printer Driver Apps in general. We settled on (and suggested customers use) several models of laser printer and we used Mopria. It was simply faster to develop and release our product.

      – FederOnline
      Mar 20 at 17:18





      I understand being dependent on another app; in that case, you basically have to write a "Universal Print Driver", which is what Mopria did. I understood your question to say you had an Issue with Brother (which we did too), not Printer Driver Apps in general. We settled on (and suggested customers use) several models of laser printer and we used Mopria. It was simply faster to develop and release our product.

      – FederOnline
      Mar 20 at 17:18













      Can you share some code?

      – Kartika Vij
      Mar 22 at 4:53





      Can you share some code?

      – Kartika Vij
      Mar 22 at 4:53













      Yep, I quit looking since it wasn't the direction you want to go...

      – FederOnline
      Mar 25 at 13:54





      Yep, I quit looking since it wasn't the direction you want to go...

      – FederOnline
      Mar 25 at 13:54













      1














      Best option so far is using Google cloud printing



      so no need relay on other third party apps, but user must add there printer with his own google id



      ref:https://www.google.com/cloudprint/learn/index.html



      As mention here https://www.google.com/cloudprint/learn/printers/ they support wide range of printers,



      To make it programmatically check
      https://developers.google.com/cloud-print/docs/android






      share|improve this answer





























        1














        Best option so far is using Google cloud printing



        so no need relay on other third party apps, but user must add there printer with his own google id



        ref:https://www.google.com/cloudprint/learn/index.html



        As mention here https://www.google.com/cloudprint/learn/printers/ they support wide range of printers,



        To make it programmatically check
        https://developers.google.com/cloud-print/docs/android






        share|improve this answer



























          1












          1








          1







          Best option so far is using Google cloud printing



          so no need relay on other third party apps, but user must add there printer with his own google id



          ref:https://www.google.com/cloudprint/learn/index.html



          As mention here https://www.google.com/cloudprint/learn/printers/ they support wide range of printers,



          To make it programmatically check
          https://developers.google.com/cloud-print/docs/android






          share|improve this answer















          Best option so far is using Google cloud printing



          so no need relay on other third party apps, but user must add there printer with his own google id



          ref:https://www.google.com/cloudprint/learn/index.html



          As mention here https://www.google.com/cloudprint/learn/printers/ they support wide range of printers,



          To make it programmatically check
          https://developers.google.com/cloud-print/docs/android







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 26 at 9:01

























          answered Mar 26 at 7:30









          UdayaLakmalUdayaLakmal

          2,3083 gold badges22 silver badges34 bronze badges




          2,3083 gold badges22 silver badges34 bronze badges





















              0














              In my experience when using a Wi-Fi printer you should use the specific SDK provided by printer's manufactures. It's easy and prints faster than any other app dependent SDK. In case SDK is not working may be because of some permissions that you need to ask on run time as Android 6 and above need user to accept some permissions like Contact, SMS etc. you can look here for that.






              share|improve this answer



























                0














                In my experience when using a Wi-Fi printer you should use the specific SDK provided by printer's manufactures. It's easy and prints faster than any other app dependent SDK. In case SDK is not working may be because of some permissions that you need to ask on run time as Android 6 and above need user to accept some permissions like Contact, SMS etc. you can look here for that.






                share|improve this answer

























                  0












                  0








                  0







                  In my experience when using a Wi-Fi printer you should use the specific SDK provided by printer's manufactures. It's easy and prints faster than any other app dependent SDK. In case SDK is not working may be because of some permissions that you need to ask on run time as Android 6 and above need user to accept some permissions like Contact, SMS etc. you can look here for that.






                  share|improve this answer













                  In my experience when using a Wi-Fi printer you should use the specific SDK provided by printer's manufactures. It's easy and prints faster than any other app dependent SDK. In case SDK is not working may be because of some permissions that you need to ask on run time as Android 6 and above need user to accept some permissions like Contact, SMS etc. you can look here for that.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 26 at 7:22









                  Sohil AhmedSohil Ahmed

                  17 bronze badges




                  17 bronze badges



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54879840%2fhow-to-print-image-from-wifi-printer%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                      Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                      Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript