Select your printer model

Parameters are refined by the selected printer.

TM-U220II


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_PRINTER

    options

    • crypto (Boolean)
    • buffer (Boolean)

    crypto

    • crypto (Boolean)

    callback

    -

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
  • addLogo method
  • Parameter

    Specificable Setting Value

    key1

    • Integer from 0 to 255
  • addCut method
  • Parameter

    Specificable Setting Value

    type

    • CUT_NO_FEED
    • CUT_FEED
    • undefined
  • addSound method
  • Parameter

    Specificable Setting Value

    pattern

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

    repeat

    • 0
    • 1 to 255
    • undefined

    cycle

    • 1000 to 25500
  • 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