Select your printer model
<type>getcommhistory</type>
Requests for the transmission history of the communication box and notifies the application of the acquired request result.
Request
Child element |
Data type |
Description |
---|---|---|
box_id |
string |
Specifies the identifier of the communication box to acquire. |
all_history |
boolean |
Specifies whether or not to acquire the entire transmission history of the communication box. |
all_history
Attribute value |
Description |
---|---|
"true" / "1” |
Acquires the entire transmission history of the communication box. |
“false” / “0” |
Acquires the transmission history of data sent to the own member ID only. |
Sample program
<commbox_data> <sequence>4</sequence> <data> <type>getcommhistory</type> <box_id>box1</box_id> </data> </commbox_data> |
Response
Child element |
Data type |
Description |
---|---|---|
box_id |
string |
Identifier of the acquired communication box |
code |
string |
Result of sent data |
history_list |
string |
Acquired transmission history |
code
Attribute value |
Description |
---|---|
"OK" |
Acquisition of the transmission history of the communication box succeeded. |
"NOT_OPENED" |
The communication box is not open. |
“SYSTEM_ERROR” |
A system error occurred. |
history_list
Child element |
Description |
---|---|
senderId |
The member ID of the sender |
receiverId |
The member ID of the receiver |
message |
Received message |
Sample program
<commbox_data> <sequence>4</sequence> <data> <type>getcommhistory</type> <box_id>box1</box_id> <code>OK</code> <history_list> <senderId>member1</senderId> <receiverId></receiverId> <message>send_message3</message> </history_list> <history_list> <senderId>member1</senderId> <receiverId></receiverId> <message>send_message2</message> </history_list> <history_list> <senderId>member1</senderId> <receiverId></receiverId> <message>send_message</message> </history_list> </data> <data_id>10</data_id> </commbox_data> |
Supplementary explanation
- If the “all_history” child element is omitted, “false”/“0” is specified.
- <history_list> is notified for the number of transmission histories acquired.
- The <history_list> child element stores data in the descending order of dates.
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