@simplymobile/capacitor-godex-printer
v6.0.0
Published
Capacitor GoDEX printer plugin
Downloads
27
Readme
@simplymobile/capacitor-godex-printer
Capacitor GoDEX printer plugin
Install
npm install @simplymobile/capacitor-godex-printer
npx cap sync
API
getVersion()
getVersion() => Promise<{ version: string; }>
Returns: Promise<{ version: string; }>
connectToUSB()
connectToUSB() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
printFromUSB(...)
printFromUSB(options: { value: string; }) => Promise<{ value: boolean; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: boolean; }>
disconnect()
disconnect() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
getPrinterDPI()
getPrinterDPI() => Promise<{ value: number; }>
Returns: Promise<{ value: number; }>