Select your printer model

Parameters are refined by the selected printer.

Epos2LineDisplay class


Controls character display on the customer display.

API

Description

Initialization

initWithDisplayModel

Initializes the Epos2LineDisplay class.

Communication path

connect

Connects to the customer display.

disconnect

Disconnects from the customer display.

Status acquisition

getStatus

Acquires status of the connected device.

Transmission

sendData

Sends a command to the customer display.

Buffer clear

clearCommandBuffer

Clears the command buffer.

Reset

addInitialize

Initializes the customer display.

Window

addCreateWindow

Defines the display area.

addDestroyWindow

Deletes the display area setting.

addSetCurrentWindow

Switches between display areas.

addClearCurrentWindow

Deletes the current display area.

addCreateScreen

Defines the base window.

addCreateScreenCustom

Defines the base window.

addCreateTextArea

Defines the display area.

addDestroyTextArea

Deletes the display area setting.

addSetCurrentTextArea

Switches between display areas.

addClearCurrentTextArea

Deletes the current display area.

Cursor

addSetCursorPosition

Moves the cursor.

addMoveCursorPosition

Moves the cursor within the display area.

addSetCursorType

Changes the cursor display.

Text display

addText

Displays text.

addReverseText

Displays inverted text.

addMarqueeText

Displays a marquee.

Display setting

addSetBlink

Blinks display.

addSetBrightness

Changes the display brightness.

addBackgroundColor

Sets the background color.

Graphic

addStartSlideShow

Starts a slide show.

addStopSlideShow

Ends a slide show.

addDownloadImage

Displays an image.

addRegisterDownloadImage

Registers an image.

addNVImage

Displays an NV image.

addClearImage

Deletes an image.

Barcode

addSymbol

Displays a two-dimensional symbol.

addClearSymbol

Deletes a two-dimensional symbol.

Clock

addShowClock

Displays the clock.

Command transfer

addCommand

Runs an optional command.

Reception of result

setReceiveEventDelegate

Registers the callback method for an event.

The APIs and parameters that can be used vary depending on the customer display used and its display modes.

The table below shows the API that can be used in each customer display and display mode.

API

Parameter

DM-D30

DM-D70

(Standard mode)

DM-D70

(Column/row fixed mode)

DM-D110/

DM-D210

initWithDisplayModel

connect

disconnect

getStatus

sendData

clearCommandBuffer

addInitialize

addCreateWindow

-

addDestroyWindow

-

addSetCurrentWindow

-

addClearCurrentWindow

-

addCreateScreen

-

-

addCreateScreenCustom

-

-

addCreateTextArea

-

-

-

addDestroyTextArea

-

-

-

addSetCurrentTextArea

-

-

-

addClearCurrentTextArea

-

-

-

addSetCursorPosition

addMoveCursorPosition

addSetCursorType

-

-

addText

data

lang

✔*

✔*

x

y

r

-

-

-

g

-

-

-

b

-

-

-

addReverseText

-

-

addMarqueeText

addSetBlink

-

-

addSetBrightness

addBackgroundColor

-

-

-

addStartSlideShow

-

-

-

addStopSlideShow

-

-

-

addDownloadImage

-

-

-

addRegisterDownloadImage

-

-

-

addNVImage

-

-

-

addClearImage

-

-

-

addSymbol

-

-

-

addClearSymbol

-

-

-

addShowClock

-

-

-

addCommand

setReceiveEventDelegate

*: The setting value EPOS2_LANG_MULTI cannot be used.

 

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