capacitor-bluetooth-printer
/
0.1.0
capacitor-bluetooth-printer 0.1.0
Install from the command line:
Learn more about npm packages
$ npm install @kduma-autoid/capacitor-bluetooth-printer@0.1.0
Install via package.json:
"@kduma-autoid/capacitor-bluetooth-printer": "0.1.0"
About this version
Allows printing on SPP BT printers
npm install @kduma-autoid/capacitor-bluetooth-printer
npx cap sync
list() => Promise<{ devices: BluetoothDevice[]; }>
Returns: Promise<{ devices: BluetoothDevice[]; }>
connect(options: { address: string; }) => Promise<void>
Param | Type |
---|---|
options |
{ address: string; } |
print(options: { data: string; }) => Promise<void>
Param | Type |
---|---|
options |
{ data: string; } |
disconnect() => Promise<void>
connectAndPrint(options: { address: string; data: string; }) => Promise<void>
Param | Type |
---|---|
options |
{ address: string; data: string; } |
{ name: string, address: string, type: BluetoothDeviceType }
Members | Value |
---|---|
Unknown |
"unknown" |
Classic |
"classic" |
Le |
"le" |
Dual |
"dual" |
Details
- capacitor-bluetooth-printer
-
kduma-autoid
- 10 months ago
- MIT
- 12 dependencies
Assets
- capacitor-bluetooth-printer-0.1.0.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0