Select your printer model

Parameters are refined by the selected printer.

sendData


Sends the command buffer.

The error status of this API is the result of sending data to the devices.

The processing result of the devices using this API is notified to the listener method set by the setReceiveEventListenerAPI.

This API sends data buffered by an add-type API (e.g., addText).

Syntax

 
public void sendData() throw Epos2Exception

Exception

When the process fails, Epos2Exception with one of the following error value occurs.

Error status

Description

ERR_MEMORY

Necessary memory could not be allocated.

ERR_FAILURE

An unknown error occurred.

ERR_PROCESSING

Processing could not be executed.

ERR_ILLEGAL

The control commands have not been buffered.

This API was called while no communication had been started.

 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

Epson ePOS SDK includes patented or patent pending functions. The contents must not be disclosed to third parties.


Epson ePOS SDK for Android

Jump to the top