print-plugin-ionic-cjp
v0.3.92
Published
Downloads
39
Readme
print-plugin
Install
npm i print-plugin-ionic-cjp
npx cap sync
API
testPluginMethod(...)
DataFromPlugin()
AddCallback()
enableServices()
RemoveCallback()
EnumBle()
EnumBt()
EnumNet()
EnumCom()
EnumUsb()
EnumWiFiP2P()
Test_Pos_SampleTicket_80MM_1()
Test_Pos_SampleTicket_58MM_2()
Test_Pos_SampleTicket_58MM_1()
Test_Port_Read()
Test_Pos_PrintSelfTestPage()
OpenPort(...)
ClosePort()
Test_Pos_PrintBarcode()
Test_Pos_PrintQRCode()
DisplayScreen(...)
PaymentSuccessDisplay(...)
Test_Custom_Ticket_Receipt(...)
Transaction_Details_Receipt(...)
Transaction_Order_Number(...)
Transaction_fullReciept(...)
standby()
ThankyouDisplay()
- Interfaces
testPluginMethod(...)
testPluginMethod(options: { msg: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ----------------------------- |
| options
| { msg: string; } |
Returns: Promise<{ value: string; }>
DataFromPlugin()
DataFromPlugin() => Promise<{ payload: Payload; }>
Returns: Promise<{ payload: Payload; }>
AddCallback()
AddCallback() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
enableServices()
enableServices() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
RemoveCallback()
RemoveCallback() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
EnumBle()
EnumBle() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
EnumBt()
EnumBt() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
EnumNet()
EnumNet() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
EnumCom()
EnumCom() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
EnumUsb()
EnumUsb() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
EnumWiFiP2P()
EnumWiFiP2P() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
Test_Pos_SampleTicket_80MM_1()
Test_Pos_SampleTicket_80MM_1() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
Test_Pos_SampleTicket_58MM_2()
Test_Pos_SampleTicket_58MM_2() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
Test_Pos_SampleTicket_58MM_1()
Test_Pos_SampleTicket_58MM_1() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
Test_Port_Read()
Test_Port_Read() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
Test_Pos_PrintSelfTestPage()
Test_Pos_PrintSelfTestPage() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
OpenPort(...)
OpenPort(options: { content: any; }) => Promise<void>
| Param | Type |
| ------------- | ------------------------------ |
| options
| { content: any; } |
ClosePort()
ClosePort() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
Test_Pos_PrintBarcode()
Test_Pos_PrintBarcode() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
Test_Pos_PrintQRCode()
Test_Pos_PrintQRCode() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
DisplayScreen(...)
DisplayScreen(options: { content: any; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------ |
| options
| { content: any; } |
Returns: Promise<{ value: string; }>
PaymentSuccessDisplay(...)
PaymentSuccessDisplay(options: { content: any; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------ |
| options
| { content: any; } |
Returns: Promise<{ value: string; }>
Test_Custom_Ticket_Receipt(...)
Test_Custom_Ticket_Receipt(options: { content: any; }) => Promise<void>
| Param | Type |
| ------------- | ------------------------------ |
| options
| { content: any; } |
Transaction_Details_Receipt(...)
Transaction_Details_Receipt(options: { content: any; }) => Promise<void>
| Param | Type |
| ------------- | ------------------------------ |
| options
| { content: any; } |
Transaction_Order_Number(...)
Transaction_Order_Number(options: { content: any; }) => Promise<void>
| Param | Type |
| ------------- | ------------------------------ |
| options
| { content: any; } |
Transaction_fullReciept(...)
Transaction_fullReciept(options: { content: any; }) => Promise<void>
| Param | Type |
| ------------- | ------------------------------ |
| options
| { content: any; } |
standby()
standby() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
ThankyouDisplay()
ThankyouDisplay() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
Interfaces
Payload
| Prop | Type |
| ------------- | ------------------- |
| payload
| string |