Select your printer model

Parameters are refined by the selected printer.

sendData


Sends data to the peripheral device. Specifies the arbitrary function of the device control program side, and passes JSON data made from a set of the property name and value.

For details, refer to the TM-DT Series Peripheral Device Control Guide.

Syntax

 
- (int)sendData:(NSString *)methodName data:NSString *)data;

Parameter

methodName

Specifies the function name to be executed.

data

Specifies the parameter to be passed to the function in JSON string.

Return value

Error status

Description

EPOS2_SUCCESS

The function was executed successfully.

EPOS2_ERR_PARAM

An invalid parameter was passed.

EPOS2_ERR_CONNECT

Communication failed.

EPOS2_ERR_MEMORY

Sufficient memory required for processing could not be allocated.

EPOS2_ERR_FAILURE

An unknown error occurred.

 

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 iOS

Jump to the top