Epson TM-H6000IV-DT ePOS-Device XML Users Manual - Page 71
Message Data for Hybrid Printers, <type>lock</type>, <type>lock</type>
View all Epson TM-H6000IV-DT manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 71 highlights
Message Data for Hybrid Printers • Cannot be used with TM-i Series. • Available with ePOS-Device Ver.2.5 or later. Chapter 4 ePOS-Device XML lock Request Locks the device port. Execute when performing MICR reading or you want to lock the device. If you locked a port with this message data, be sure to send the unlock (p.71) message before closing the application. If you close the application without sending the unlock, the next port cannot be locked for about five minutes until the ePOS-Device Service I/F unlocks the port. The onreceive (p.77) message returns 'ERROR_DEVICE_BUSY'. ❏ Example local_printer lock 4 unlock Request Unlocks the device port. ❏ Example local_printer unlock 71
71
Chapter 4
ePOS-Device XML
4
Message Data for Hybrid Printers
<type>lock</type>
Request
Locks the device port. Execute when performing MICR reading or you want to lock the device.
❏
Example
<type>unlock</type>
Request
Unlocks the device port.
❏
Example
•
Cannot be used with TM-i Series.
•
Available with ePOS-Device Ver.2.5 or later.
If you locked a port with this message data, be sure to send the
<type>unlock</type> (p.71)
message before closing the application.
If you close the application without sending the unlock, the next port cannot be locked for about
five minutes until the ePOS-Device Service I/F unlocks the port.
The
<type>onreceive</type> (p.77)
message returns 'ERROR_DEVICE_BUSY'.
<device_data>
<device_id>local_printer</device_id>
<data>
<type>lock</type>
</data>
</device_data>
<device_data>
<device_id>local_printer</device_id>
<data>
<type>unlock</type>
</data>
</device_data>