Select your printer model
Parameters are refined by the selected printer.
<type>operate</type>
Sends operational command data to the storage and requests it for processing.
The request result is acquired by the <type>operateresult</type> element.
Request
Child element |
Data type |
Description |
---|---|---|
timeout |
int |
Specifies timeout for the request in milliseconds. Value: 100 to 120000 (integer) |
requestdata |
string |
Specifies JSON data to be processed by storage. |
Maximum request data size
64KB
Sample program
Stores the transaction data in the storage.
<device_data> <device_id>local_TSE</device_id> <data> <type>operate</type> <timeout>10000</timeout> <requestdata> {"storage": {"type":"TSE","vendor":"TSE1"}, "function":"StartTransaction","input": {"clientId":"ClientId_POS1", "processData":"YXBwbGU=", "processType":"Start", "additionalData":""}, "compress":{"required":false, "type":""}} </requestdata> </data> </device_data> |
Supplementary explanation
Refer to "Storage Control JSON" for details of requestdata child element.
Quick Access
- [Name]
- [Format]
- [Range]
- [Description]
- [Notes]
ePOS-Device XML includes patented or patent pending functions. The contents must not
be disclosed to third parties.
- 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