Open netplexsolutions opened 1 year ago
Any solution please
If I understand correctly, your use case is to run a web app on a sunmi device, and print from the HTML page? In this case I suggest you to run a background program on the device and launch a HTTP server listening for the print command, then on clicking the button, you request 'localhost' to send what you want to print to the local HTTP server, then the HTTP server call the sunmi print function
1 year later...
You can do an webview with kotlin, and "expose" a kotlin function to JS for print purposes :)
How can we use with PHP Laravel to print on android