Epson TM-T70-i ePOS-Device XML Users Manual For TM-i firmware v4.1 - Page 77
Message Data for Hybrid Printers, <type>lock</type>, <type>lock</type>
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 77 highlights
Chapter 4 ePOS-Device XML Message Data for Hybrid Printers • Cannot be used with TM-i Series. • Available with ePOS-Device Service Ver.2.5 or later. 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.77) 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.83) message returns 'ERROR_DEVICE_BUSY'. ❏ Example local_printer lock 4 unlock Request Unlocks the device port. ❏ Example local_printer unlock 77
77
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 Service Ver.2.5 or later.
If you locked a port with this message data, be sure to send the
<type>unlock</type> (p.77)
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.83)
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>