Select your printer model
<type>operateresult</type>
Acquires the result of the operate request given by the <type>operate</type> element and notifies the application of the result.
Response
Child Element |
Data type |
Description |
---|---|---|
success |
bool |
true: Success to process. false: Failed to process. |
code |
string |
Specifies the detail. SUCCESS: Successfully processed. ERROR_PARMETER: Parameter is insufficient or wrong. ERROR_DEVICE_BUSY: Other "operate" request is already ERROR_TIMEOUT: Timeout occurred while processing. ERROR_AUTOMATICAL: Automatical error in printer. ERROR_UNRECOVERABLE: Unrecoverable error in printer. EPTR_CUTTER: Cutter error in printer. EPTR_MECHANICAL: Mechanical error in printer. |
Sample program
<data> <type>operateresult</type> <resultdata> {"result":"EXECUTION_OK","output": {}} </resultdata> </data> |
Supplementary explanation
Refer to "Storage Control JSON" for details of resultdata child element.
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