Select your printer model

Parameters are refined by the selected printer.

<type>lock</type>


Requests for locking the device port. Use this method when, for example, performing MICR control and slip printing sequentially to prevent other processes from interrupting the operation. The request result is acquired by the <type>onreceive</type> element.

Request

Sample program

 
<device_data>
	<device_id>local_printer</device_id>
	<data>
		<type>lock</type>
	</data>
</device_data>

Supplementary explanation

After executing <type>lock</type>, execute the <type>unlock</type> element before closing the application.

If you fail to do this, the device port cannot be locked for approximately 5 minutes until ePOSDevice
Service unlocks the port and ERROR_DEVICE_BUSY is passed to the <type>onreceive</type> 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.


ePOS-Device XML

Jump to the top