0.0.2 • Published 2 years ago
hmprinter-plugin v0.0.2
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; }>