bixie-customize-pos-printer
v0.0.25
Published
Customize Bixie printer plugin
Readme
bixie-customize-pos-printer
Customize Bixie printer plugin
Install
npm install bixie-customize-pos-printer
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
connectToDevice(...)
connectToDevice(options: { address: string; }) => Promise<{ value: string; success: string; error: string; }>| Param | Type |
| ------------- | --------------------------------- |
| options | { address: string; } |
Returns: Promise<{ value: string; success: string; error: string; }>
testPrint()
testPrint() => Promise<{ value: string; }>Returns: Promise<{ value: string; }>
printTicket(...)
printTicket(options: { firstName: string; drawDate: string; datePrinted: string; qrcode: string; games: string; total: string; drawTime: string; agentCode: string; maxSize: number; }) => Promise<{ success: string; error: string; }>| Param | Type |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| options | { firstName: string; drawDate: string; datePrinted: string; qrcode: string; games: string; total: string; drawTime: string; agentCode: string; maxSize: number; } |
Returns: Promise<{ success: string; error: string; }>
