va21printer
VA21 Device Printer
Install
npm install va21printer
npx cap sync
API
printText(...)
printText(options: { meterno: string; kwh: string; }) => Promise<{ meterno: string; }>
Param | Type |
---|---|
options |
{ meterno: string; kwh: string; } |
Returns: Promise<{ meterno: string; }>
printBitmap()
printBitmap() => any
Returns: any
printBarcode(...)
printBarcode(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
printQrCode(...)
printQrCode(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>