Select your printer model

Parameters are refined by the selected printer.

TM-T70II-DT


Printer Specifications

Item

58mm Specification

80mm Specification

Amount of initial feed

30 dots

Initial page mode area

ANK model

416 x 1662 dots

512 x 1662 dots

Multiple languages model

416 x 1662 dots

576 x 1662 dots

Maximum page mode area

ANK model

416 x 1662 dots

512 x 1662 dots

Multiple languages model

416 x 1662 dots

576 x 1662 dots

Baseline of Font A

21 dots from the top of the character

Baseline of Font B

16 dots from the top of the character

APIs for which restricted parameter setting values can be specified

ePOSDevice object

  • createDevice method
  • Parameter

    Specificable Setting Value

    deviceId

    • deviceId

    deviceType

    • DEVICE_TYPE_DISPLAY
    • DEVICE_TYPE_KEYBOARD
    • DEVICE_TYPE_MSR
    • DEVICE_TYPE_PRINTER
    • DEVICE_TYPE_SCANNER
    • DEVICE_TYPE_SIMPLE_SERIAL
    • DEVICE_TYPE_DT
    • DEVICE_TYPE_POSKEYBOARD
    • DEVICE_TYPE_OTHER_PERIPHERAL

    options

    • crypto (Boolean)
    • buffer (Boolean)

    crypto

    • crypto (Boolean)

    callback

    -

Display object

  • addText method
  • Parameter

    Specificable Setting Value

    data

    • data

    lang

    • "en" (default)
    • "ja"
    • "undefined"

    x

    • 1 to 44
    • "undefined"

    y

    • 1 to 19
    • "undefined"

Printer object

  • addTextLang method
  • Parameter

    Specificable Setting Value

    lang

    • "en" (default)
    • de
    • fr
    • it
    • es
    • zh-hans
    • zh-cn
    • zh-hant
    • zh-tw
  • addTextFont method
  • Parameter

    Specificable Setting Value

    font

    • FONT_A (default)
    • FONT_B
    • FONT_SPECIAL_A
    • FONT_SPECIAL_B
  • addTextStyle method
  • Parameter

    Specificable Setting Value

    reverse

    • true
    • false (default)
    • undefined

    ul

    • true
    • false (default)
    • undefined

    em

    • true
    • false (default)
    • undefined

    color

    • COLOR_1 (default)
    • undefined
  • addImage method
  • Parameter

    Specificable Setting Value

    context

    • context

    x

    • Integer from 0 to 65535

    y

    • Integer from 0 to 65535

    width

    • Integer from 0 to 65535

    height

    • Integer from 0 to 65535

    color

    • COLOR_1 (default)
    • undefined

    mode

    • MODE_MONO
    • MODE_GRAY16
    • undefined
  • addBarcode method
  • Parameter

    Specificable Setting Value

    data

    • String

    type

    • BARCODE_UPC_A
    • BARCODE_UPC_E
    • BARCODE_EAN13
    • BARCODE_JAN13
    • BARCODE_EAN8
    • BARCODE_JAN8
    • BARCODE_CODE39
    • BARCODE_ITF
    • BARCODE_CODABAR
    • BARCODE_CODE93
    • BARCODE_CODE128
    • BARCODE_GS1_128
    • BARCODE_GS1_DATABAR_OMNIDIRECTIONAL
    • BARCODE_GS1_DATABAR_TRUNCATED
    • BARCODE_GS1_DATABAR_LIMITED
    • BARCODE_GS1_DATABAR_EXPANDED

    hri

    • HRI_NONE (default)
    • HRI_ABOVE
    • HRI_BELOW
    • HRI_BOTH

    font

    • FONT_A (default)
    • FONT_B

    width

    • Integer from 2 to 6

    height

    • Integer from 1 to 255
  • addSymbol method
  • Parameter

    Specificable Setting Value

    data

    • String

    type

    • SYMBOL_PDF417_STANDARD
    • SYMBOL_PDF417_TRUNCATED
    • SYMBOL_QRCODE_MODEL_1
    • SYMBOL_QRCODE_MODEL_2
    • SYMBOL_MAXICODE_MODE_2
    • SYMBOL_MAXICODE_MODE_3
    • SYMBOL_MAXICODE_MODE_4
    • SYMBOL_MAXICODE_MODE_5
    • SYMBOL_MAXICODE_MODE_6
    • SYMBOL_GS1_DATABAR_STACKED
    • SYMBOL_GS1_DATABAR_STACKED_OMNIDIRECTIONAL
    • SYMBOL_GS1_DATABAR_EXPANDED_STACKED

    level

    • LEVEL_0
    • LEVEL_1
    • LEVEL_2
    • LEVEL_3
    • LEVEL_4
    • LEVEL_5
    • LEVEL_6
    • LEVEL_7
    • LEVEL_8
    • LEVEL_L
    • LEVEL_M
    • LEVEL_Q
    • LEVEL_H
    • LEVEL_DEFAULT
  • addCut method
  • Parameter

    Specificable Setting Value

    type

    • CUT_NO_FEED
    • CUT_FEED
    • undefined
  • addSound method
  • Parameter

    Specificable Setting Value

    pattern

    • PATTERN_NONE
    • PATTERN_A
    • PATTERN_B
    • PATTERN_C
    • PATTERN_D
    • PATTERN_E
    • PATTERN_ERROR
    • PATTERN_PAPER_END
    • undefined

    repeat

    • 0
    • 1 to 255
    • undefined
 

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