Select your printer model

Parameters are refined by the selected printer.

initWithDisplayModel


Initializes the Epos2LineDisplay class.

Syntax

 
- (id) initWithDisplayModel:(int) displayModel;

Parameter

displaySeries

Specifies the model name of the target customer display.

Value

Description

EPOS2_DM_D110

DM-D110

EPOS2_DM_D210

DM-D210

EPOS2_DM_D30

DM-D30

EPOS2_DM_D70

DM-D70

Return value

If the process succeeds, an initialized Epos2LineDisplay class instance will be returned.

If the process fails, nil will be returned. The process may fail due to the following reasons:

Error status

Description

EPOS2_ERR_PARAM

An invalid parameter was specified.

EPOS2_ERR_MEMORY

Memory could not be allocated.

Supplementary explanation

  • When iterating a process, be sure to generate and destroy instances outside the iterated process and not iterate the process at a short interval.
    Memory releasing by the OS may affect the process of the Epson ePOS SDK, resulting in an invalid operation.
  • When the DM-D30 connected to the TM-m30/TM-m30II/TM-m50/TM-T88VI/TM-T88VI-iHUB is replaced with the DM-D70, specify EPOS2_DM_D30 in displaySeries.
 

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