ionic-plugin-printer-by-paulobunga
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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

Dependencies (0)

    Dev Dependencies (14)

    Package Sidebar

    Install

    npm i ionic-plugin-printer-by-paulobunga

    Weekly Downloads

    0

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    51.7 MB

    Total Files

    36

    Last publish

    Collaborators

    • paulobunga