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