escpos-bluetooth

3.0.0-alpha.2 • Public • Published

Bluetooth(address, channel)

const escpos = require('escpos');
escpos.Bluetooth = require('escpos-bluetooth');
 
const address = '01:23:45:67:89:AB';
const channel = 1;
const bluetoothDevice = new escpos.Bluetooth(address, channel);

You can scan for printers using the escpos.Bluetooth.findPrinters() method. Check out the examples (bt_promise and bt_find_printer) for more information.

Readme

Keywords

Package Sidebar

Install

npm i escpos-bluetooth

Weekly Downloads

3

Version

3.0.0-alpha.2

License

MIT

Unpacked Size

6.99 kB

Total Files

5

Last publish

Collaborators

  • song940