Select your printer model
<type>send</type>
Sends data to the communication box and notifies the application of the acquired transmission result.
Request
Child element |
Data type |
Description |
---|---|---|
box_id |
string |
Specifies the identifier of the communication box to send the message. |
message |
string |
Specifies the message to send. |
member_id |
string |
Specifies the member ID to send. |
Sample program
<commbox_data> <sequence>3</sequence> <data> <type>send</type> <box_id>box1</box_id> <message>send_message</message> </data> </commbox_data> |
Response
Child element |
Data type |
Description |
---|---|---|
box_id |
string |
Identifier of the communication box to which the message was sent |
code |
string |
Message transmission result |
count |
string |
Number of clients which tried to send the message |
code
Attribute value |
Description |
---|---|
"OK" |
Message transmission succeeded. |
"NOT_OPENED" |
The communication box is not open. |
"MEMBER_NOT_FOUND" |
The specified member ID cannot be found. |
“SYSTEM_ERROR” |
A system error occurred. |
Supplementary explanation
If a null string is specified in the member_id child element, the message is sent to all the applications belonging to the communication box.
Quick Access
- [Name]
- [Format]
- [Range]
- [Description]
- [Notes]
- Introduction
- help
- Message
- CommunicationBox Messages
- Device Messages
- DeviceHubTerminal
- BarcodeScanner
- Printer
- <type>print</type>
- <type>onxmlresult</type>
- <epos-print>
- <response>
- <text>
- <feed>
- <image>
- <logo>
- <barcode>
- <symbol>
- <hline>
- <vline-begin>
- <vline-end>
- <page>
- <area>
- <direction>
- <position>
- <line>
- <rectangle>
- <cut>
- <pulse>
- <sound>
- <command>
- <layout>
- <recovery>
- <reset>
- <batch-begin>
- <batch-end>
- <rotate-begin>
- <rotate-end>
- HybridPrinter
- <type>lock</type>
- <type>unlock</type>
- <type>print</type>
- <type>onxmlresult</type>
- <type>slipwaitinsertion</type>
- <type>slipprint2</type>
- <type>slipcancel</type>
- <type>endorsewaitinsertion</type>
- <type>endorseprint2</type>
- <type>endorsecancel</type>
- <type>validationwaitinsertion</type>
- <type>validationprint2</type>
- <type>validationcancel</type>
- <type>micrread</type>
- <type>micrcleaning</type>
- <type>micrcancel</type>
- <type>eject</type>
- <type>onreceive</type>
- CustomerDisplay
- Keyboard
- POSKeyboard
- MSR
- SerialDevice
- Storage
- OtherPeripheral
- Appendix