ionic-plugin-printer-by-paulobunga
v0.1.3
Published
Ionic Plugin For Self Service Point Of Sale Systems
Downloads
21
Readme
Ionic Capacitor Printer Plugin
Ionic Plugin For Self Service Point Of Sale Systems
Install
npm i ionic-plugin-printer-by-paulobunga
ionic cap sync android
API
requestPermissions()
requestPermissions() => Promise<void>
getConnectedDevices()
getConnectedDevices() => Promise<{ devices: DeviceInfo[]; }>
Returns: Promise<{ devices: DeviceInfo[]; }>
connectToDevice(...)
connectToDevice(options: { device_name: string; }) => Promise<void>
| Param | Type |
| ------------- | ------------------------------------- |
| options
| { device_name: string; } |
print(...)
print(options: { content: OrderData; }) => Promise<void>
| Param | Type |
| ------------- | ------------------------------------------------------------- |
| options
| { content: OrderData; } |
disconnect()
disconnect() => Promise<void>
Interfaces
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[] |
Contact Information
For custom configuration, tech support, or additional developer work related to this plugin, you can contact:
Name: Paul Obunga
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