Select your printer model

Parameters are refined by the selected printer.

Display object


Controls character display on the customer display.

API

Description

Window

createWindow method

Defines the display area.

destroyWindow method

Deletes the display area setting.

setCurrentWindow method

Switches between display areas.

clearWindow method

Deletes the current display area.

addCreateScreen method

Defines the base window.

addCreateScreenCustom method

Defines the base window.

createTextArea method

Defines the display area.

destroyTextArea method

Deletes the display area setting.

setCurrentTextArea method

Switches between display areas.

Window

clearTextArea method

Deletes the current display area.

Cursor

setCursorPosition method

Moves the cursor.

moveCursorPosition method

Moves the cursor within the display area.

setCursorType method

Changes the cursor display.

Text display

addText method

Displays text.

addReverseText method

Displays inverted text.

addMarquee method

Displays a marquee.

Display attributes

setBlink method

Blinks display.

setBrightness method

Changes the display brightness.

addBackgroundColor method

Sets the background color.

Graphics

addStartSlideShow method

Starts a slide show.

addStopSlideShow method

Ends a slide show.

addDownloadImage method

Displays an image.

addRegisterDownloadImage method

Registers an image.

addNVImage method

Displays an NV image.

addClearImage method

Deletes an image.

Barcode

addSymbol method

Displays a two-dimensional symbol.

addClearSymbol method

Deletes a two-dimensional symbol.

Clock

showClock method

Displays the clock.

Command transfer

addCommand method

Runs an optional command.

Transmission

send method

Sends a control command.

Initialization

reset method

Reset

Reception of result

onreceive event

Control result reception 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

createWindow method

-

destroyWindow method

-

setCurrentWindow method

-

clearWindow method

-

addCreateScreen method

-

-

addCreateScreenCustom method

-

-

createTextArea method

-

-

-

destroyTextArea method

-

-

-

setCurrentTextArea method

-

-

-

clearTextArea method

-

-

-

setCursorPosition method

moveCursorPosition method

setCursorType method

-

-

addText method

data

lang

✔*

✔*

x

y

r

-

-

-

g

-

-

-

b

-

-

-

addReverseText method

-

-

addMarquee method

setBlink method

-

-

setBrightness method

addBackgroundColor method

-

-

-

addStartSlideShow method

-

-

-

addStopSlideShow method

-

-

-

addDownloadImage method

-

-

-

addRegisterDownloadImage method

-

-

-

addNVImage method

-

-

-

addClearImage method

-

-

-

addSymbol method

-

-

-

addClearSymbol method

-

-

-

showClock method

-

-

-

addCommand method

send method

reset method

onreceive event

*: The setting value "mul" 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 JavaScript

Jump to the top