How to do that when I clicked a button in my application, he printed out the text (String food) on a printer that is connected to the tablet
1 answer
Option first and main. Printing by standard means is described in the "Courses" in the official documentation.
Option two, if the printer is exotic or specialized, connects via BlueTooth. In this case, you need documentation for the printer. There will be described either the connection method and commands, or you will be offered to use the library supplied with the printer.
|