I've got a requirement where I need to send a print job to a printer from an Android app. The actual info that needs printing is very basic, so nothing special required - Just text really. The app is a Xamarin.Forms app.
I am aware that I can use the standard Android Printing framework but this isn't what I need - This would mean the printer need pre-configuring on the device and would also mean the Print Preview screen is always displayed before the print is made.
I've been researching sending a direct print request via TCP sockets on Port 9100 however I can't seem to get this working.
Does anyone have a working example of how this can be done, either in .Net Standard or Android Native?
Is there also a standard protocol for sending print jobs to a printer via this method?