How to print picture after bluetooth printer connected with Android devices via bluetooth?
For our Bluetooth thermal printer, in the source code of SDK, we define the location and the name of the image, then print it through Demo. Such definition in our SDK:
The name and format of the image must be: icon.jpg, its position must be / Mnt / SDCard, width must be not more than 384 pixels. Matching and connecting the printer well after meeting above settings, selecting "Print Test Page" in the Demo, pictures can be printed.
In the practical application of the client, we offer them the SDK, he/she can take any modify the code - can add the number of print image, can redefine print image path, can define the name and format of the image. For example, the client uses their own software to generate a picture of the lottery, to set the format, name, size, path to save it, then click "Print" and pictures can be printed.