How to Use the Terminal's Bluetooth Printer Service: Difference between revisions

From wizarPOS
No edit summary
(Replaced content with "{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/printer/use-terminal-bluetooth-printer}}")
Tag: Replaced
 
(45 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Bluetooth printing is a service what terminal, which get a connection with buletooth printer,sending data to the printer through the connection and then  the printer data printing the data.And the connection is built by terminal with SPP(Serial Port Profile).
{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/printer/use-terminal-bluetooth-printer}}
The process of the service:
# open bluetooth if doesn't open
example below:
      if (!mBluetoothAdapter.isEnabled()) {
            Intent enableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
            startActivityForResult(enableIntent, REQUEST_ENABLE_BT);
           
        }
# scan and discovery the bluetooth devices surrounding
 
# select and pair the bluetooth printer
# send data that is a series of ESC command
# printer print the data

Latest revision as of 07:40, 7 April 2024

Please visit new link of same subject:

https://smartpossdk.gitbook.io/cloudpossdk/faq/printer/use-terminal-bluetooth-printer

We're making a move! Our site's content is migrating to a new URL, to provide you with an enhanced browsing experience. Please update your bookmarks accordingly. Thank you for your continuous support!