I can not find how to print to directly connected to Mobile device ESC/POS printer over bluetooth. Should be an easy task, as it is just sending data to open bluetooth printer port, but I have not found any manuals or guides so far. I do not need any help on POS commands, just how to attach printer (already paired) to 1c mobile app and send data to it.
Please help me with code sample and external components (drivers) if needed.
In 1C:Enterprise mobile platform, working with printers from your code does not differ from that in 1C:Enterprise platform. What does differ it is the way you configure printers in your mobile application (on the contrary, on desktop computers, you use printer drivers for this purpose):
- In the printer selection screen, click "+" and then specify the printer settings.
<<Where could I find printer selection screen?>> The printer selection form is displayed automatically when you are about to select the printer for printing a spreadsheet document in your mobile application.
<<Is there any way to print directly to the port? Many printers support addtional commands like paper cut or drawer open which are definitely unavailable through SpreadsheetDocument>> Indeed, not all commands the printer can perform are supported when printing a spreadsheet document.
The direct printing to the port is not supported out-of-the-box in 1C:Enterprise mobile platform applications.
Though, you can implement direct printing for a particular printer model via an external component, which would require significant development efforts.
For examples of such components, you can refer to the page on the Periferals library (Vadim Petruchik already recommended it to you):