Select your printer model

Parameters are refined by the selected printer.

TM-U220-i


Printer Specifications

Item

76mm Specification

69.5mm Specification

57.5mm Specification

Amount of initial feed

12 dots

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_PRINTER
    • DEVICE_TYPE_SCANNER
    • DEVICE_TYPE_SIMPLE_SERIAL

    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
    • ko
    • ko-kr
    • zh-hans
    • zh-cn
    • zh-hant
    • zh-tw
    • th
  • addTextFont method
  • Parameter

    Specificable Setting Value

    font

    • FONT_A (default)
    • FONT_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)
    • COLOR_2
    • 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)
    • COLOR_2
    • undefined

    mode

    • MODE_MONO
    • undefined
  • addCut method
  • Parameter

    Specificable Setting Value

    type

    • CUT_NO_FEED
    • CUT_FEED
    • undefined
  • print method
  • Parameter

    Specificable Setting Value

    canvas

    • canvas

    cut

    • true
    • false
    • undefined

    mode

    • MODE_MONO
    • undefined

    printjobid

    • String
 

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