hmprinter-plugin
v0.0.2
Published
a plugin using hm printer to print pdf
Downloads
4
Readme
hmprinter-plugin
a plugin using hm printer to print pdf
Install
npm install hmprinter-plugin
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
connect(...)
connect(options: { btDevice: string; }) => Promise<{ isConnected: boolean; }>
连接蓝牙打印机
| Param | Type |
| ------------- | ---------------------------------- |
| options
| { btDevice: string; } |
Returns: Promise<{ isConnected: boolean; }>