MythiCode/zebra_utlity

Would it be possible to receive a response from the printer?

Opened this issue · 0 comments

Would it be possible to receive a status/error response when calling a method? For example, if I call the print(String data) method it would be nice to have a response from the printer, which may include something like Unable to print, change label roll or Print sent successfully etc.
I though about adding a setMethodCallHandler inside the MainActivity.kt, but the MethodChannel is set to be different each time, so that's impossible to achieve. Moreover, if it was a direct return object from the methods, it would be extremely useful.
Thanks