capacitor-plugin-pos-h10
v0.0.3
Published
Plugin to handle inner printer of Senraise H10
Readme
capacitor-plugin-pos-h10
Plugin to handle inner printer of Senraise H10
Install
npm install capacitor-plugin-pos-h10
npx cap syncAPI
getServiceVersion(...)
getServiceVersion(options: {}) => Promise<{ version: string; }>| Param | Type |
| ------------- | --------------- |
| options | {} |
Returns: Promise<{ version: string; }>
printText(...)
printText(options: { text: string; }) => Promise<void>| Param | Type |
| ------------- | ------------------------------ |
| options | { text: string; } |
printImage(...)
printImage(options: { base64: string; }) => Promise<void>| Param | Type |
| ------------- | -------------------------------- |
| options | { base64: string; } |
printEpson(...)
printEpson(options: { base64: string; }) => Promise<void>Send raw ESC/POS bytes to the printer via the Epson command pipeline.
| Param | Type |
| ------------- | -------------------------------- |
| options | { base64: string; } |
