Ionic Plugin For Self Service Point Of Sale Systems
npm install ionic-plugin-printer-by-paulobungaIonic Plugin For Self Service Point Of Sale Systems
``bash`
npm i ionic-plugin-printer-by-paulobunga
ionic cap sync android
* requestPermissions()
* getConnectedDevices()
* connectToDevice(...)
* print(...)
* disconnect()
* Interfaces
`typescript`
requestPermissions() => Promise
--------------------
`typescript`
getConnectedDevices() => Promise<{ devices: DeviceInfo[]; }>
Returns: Promise<{ devices: DeviceInfo[]; }>
--------------------
`typescript`
connectToDevice(options: { device_name: string; }) => Promise
| Param | Type |
| ------------- | ------------------------------------- |
| options | { device_name: string; } |
--------------------
`typescript`
print(options: { content: OrderData; }) => Promise
| Param | Type |
| ------------- | ------------------------------------------------------------- |
| options | { content: OrderData; } |
--------------------
`typescript`
disconnect() => Promise
--------------------
#### DeviceInfo
| Prop | Type |
| -------------------- | ------------------- |
| device_name | string |
| device_address | string |
#### OrderData
| Prop | Type |
| ------------------ | ------------------------ |
| orderNum | string |
| total | string |
| type | string |
| paiementType | string |
| notes | string |
| company | string |
| address | string |
| tel | string |
| date | string |
| hour | string |
| items | OrderItem[] |
#### OrderItem
| Prop | Type |
| ------------------ | -------------------------- |
| title | string |
| price | string |
| quantity | string |
| combinations | Combination[] |
#### Combination
| Prop | Type |
| ------------ | --------------------- |
| title | string |
| choice` | string[] |
#### Hourly Rate: $15-20/Hr
#### Quick Support & Consultation: $500
#### Port to Flutter, React Native, Cordova: $500
#### Additional Features: Refer to hourly rate
Contact Details: Paul Obunga's Linktree
Contact Infomation