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
Right-click the photo you want to print, click Open with, and then click Photos. Right-click the photo, and then click Print. Select your printer from the printer list. Change any print job settings.
Print photo You can do this by using the gallery app or navigate your phone's storage using a file manager app. You can also navigate to photos saved on cloud services like Dropbox and Google Drive. Once you have found the photo, open it to make sure it's the correct photo and that you're happy with it.
No set standard makes a printer-specific to photos. You can, in theory, use almost any home printer to create black-and-white or color prints. Most printer software products include custom settings that will change the resolution of your print job to make them near perfect for photos.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With