@cencosudx/txd-zebra-printer-capacitor
v0.1.6
Published
Capacitor Plugin to use printers (TxD)
Readme
txd-printer-capacitor
Capacitor Plugin to use printers (TxD)
Install
npm install txd-printer-capacitor
npx cap syncAPI
connect(...)
connect(options: { macAddress: string; width: string; height: string; }) => Promise<{ completed: boolean; }>| Param | Type |
| ------------- | ------------------------------------------------------------------- |
| options | { macAddress: string; width: string; height: string; } |
Returns: Promise<{ completed: boolean; }>
disconnect()
disconnect() => Promise<{ completed: boolean; }>Returns: Promise<{ completed: boolean; }>
print(...)
print(options: { content: string; }) => Promise<{ completed: boolean; }>| Param | Type |
| ------------- | --------------------------------- |
| options | { content: string; } |
Returns: Promise<{ completed: boolean; }>
onConnectionChange(...)
onConnectionChange(callback: () => void) => void| Param | Type |
| -------------- | -------------------------- |
| callback | () => void |
