Select your printer model

Parameters are refined by the selected printer.

TM-T20II


Printer Specifications

Item

58mm Specification

80mm Specification

Amount of initial feed

30 dots

Initial page mode area

420 x 831 dots

576 x 831 dots

Maximum page mode area

420 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

Epos2Printer Class

  • initWithPrinterSeries
  • Parameter

    Specificable Setting Value

    printerSeries

    • EPOS2_TM_T20

    lang

    • EPOS2_MODEL_ANK
  • addTextLang
  • Parameter

    Specificable Setting Value

    lang

    • EPOS2_LANG_EN (default)
    • EPOS2_LANG_JA
    • EPOS2_LANG_ZH_CN
    • EPOS2_LANG_ZH_TW
    • EPOS2_LANG_KO
    • EPOS2_LANG_TH
    • EPOS2_LANG_VI
    • EPOS2_PARAM_DEFAULT
  • addTextFont
  • Parameter

    Specificable Setting Value

    font

    • EPOS2_FONT_A (default)
    • EPOS2_FONT_B
    • EPOS2_PARAM_DEFAULT
  • addTextStyle
  • Parameter

    Specificable Setting Value

    reverse

    • EPOS2_TRUE
    • EPOS2_FALSE (default)
    • EPOS2_PARAM_UNSPECIFIED
    • EPOS2_PARAM_DEFAULT

    ul

    • EPOS2_TRUE
    • EPOS2_FALSE (default)
    • EPOS2_PARAM_UNSPECIFIED
    • EPOS2_PARAM_DEFAULT

    em

    • EPOS2_TRUE
    • EPOS2_FALSE (default)
    • EPOS2_PARAM_UNSPECIFIED
    • EPOS2_PARAM_DEFAULT

    color

    • EPOS2_COLOR_1 (default)
    • EPOS2_PARAM_UNSPECIFIED
    • EPOS2_PARAM_DEFAULT
  • addImage
  • Parameter

    Specificable Setting Value

    data

    -

    x

    • Integer from 0 to 65534

    y

    • Integer from 0 to 65534

    width

    • Integer from 1 to 65535

    height

    • Integer from 1 to 65535

    color

    • EPOS2_COLOR_1
    • EPOS2_PARAM_DEFAULT

    mode

    • EPOS2_MODE_MONO
    • EPOS2_MODE_MONO_HIGH_DENSITY
    • EPOS2_PARAM_DEFAULT

    halftone

    • EPOS2_HALFTONE_DITHER
    • EPOS2_HALFTONE_ERROR_DIFFUSION
    • EPOS2_HALFTONE_THRESHOLD
    • EPOS2_PARAM_DEFAULT

    brightness

    • Real number from 0.1 to 10.0
    • EPOS2_PARAM_DEFAULT

    compress

    • EPOS2_COMPRESS_DEFLATE
    • EPOS2_COMPRESS_NONE
    • EPOS2_COMPRESS_AUTO
    • EPOS2_PARAM_DEFAULT
  • addBarcode
  • Parameter

    Specificable Setting Value

    data

    -

    type

    • EPOS2_BARCODE_UPC_A
    • EPOS2_BARCODE_UPC_E
    • EPOS2_BARCODE_EAN13
    • EPOS2_BARCODE_JAN13
    • EPOS2_BARCODE_EAN8
    • EPOS2_BARCODE_JAN8
    • EPOS2_BARCODE_CODE39
    • EPOS2_BARCODE_ITF
    • EPOS2_BARCODE_CODABAR
    • EPOS2_BARCODE_CODE93
    • EPOS2_BARCODE_CODE128
    • EPOS2_BARCODE_GS1_128
    • EPOS2_BARCODE_GS1_DATABAR_OMNIDIRECTIONAL
    • EPOS2_BARCODE_GS1_DATABAR_TRUNCATED
    • EPOS2_BARCODE_GS1_DATABAR_LIMITED
    • EPOS2_BARCODE_GS1_DATABAR_EXPANDED

    hri

    • EPOS2_HRI_NONE (default)
    • EPOS2_HRI_ABOVE
    • EPOS2_HRI_BELOW
    • EPOS2_HRI_BOTH
    • EPOS2_PARAM_DEFAULT
    • EPOS2_PARAM_UNSPECIFIED

    font

    • EPOS2_FONT_A (default)
    • EPOS2_FONT_B
    • EPOS2_PARAM_DEFAULT
    • EPOS2_PARAM_UNSPECIFIED

    width

    • Integer from 2 to 6
    • EPOS2_PARAM_UNSPECIFIED

    height

    • Integer from 1 to 255
    • EPOS2_PARAM_UNSPECIFIED
  • addSymbol
  • Parameter

    Specificable Setting Value

    data

    -

    type

    • EPOS2_SYMBOL_PDF417_STANDARD
    • EPOS2_SYMBOL_PDF417_TRUNCATED
    • EPOS2_SYMBOL_QRCODE_MODEL_1
    • EPOS2_SYMBOL_QRCODE_MODEL_2
    • EPOS2_SYMBOL_MAXICODE_MODE_2
    • EPOS2_SYMBOL_MAXICODE_MODE_3
    • EPOS2_SYMBOL_MAXICODE_MODE_4
    • EPOS2_SYMBOL_MAXICODE_MODE_5
    • EPOS2_SYMBOL_MAXICODE_MODE_6
    • EPOS2_SYMBOL_GS1_DATABAR_STACKED
    • EPOS2_SYMBOL_GS1_DATABAR_STACKED_
      OMNIDIRECTIONAL
    • EPOS2_SYMBOL_GS1_DATABAR_EXPANDED_STACKED

    level

    • EPOS2_LEVEL_0
    • EPOS2_LEVEL_1
    • EPOS2_LEVEL_2
    • EPOS2_LEVEL_3
    • EPOS2_LEVEL_4
    • EPOS2_LEVEL_5
    • EPOS2_LEVEL_6
    • EPOS2_LEVEL_7
    • EPOS2_LEVEL_8
    • EPOS2_LEVEL_L
    • EPOS2_LEVEL_M
    • EPOS2_LEVEL_Q
    • EPOS2_LEVEL_H
    • EPOS2_PARAM_DEFAULT
    • EPOS2_PARAM_UNSPECIFIED
  • addCut
  • Parameter

    Specificable Setting Value

    type

    • EPOS2_CUT_FEED
    • EPOS2_CUT_NO_FEED
    • EPOS2_PARAM_DEFAULT
  • addSound
  • Parameter

    Specificable Setting Value

    pattern

    • EPOS2_PATTERN_NONE
    • EPOS2_PATTERN_A
    • EPOS2_PATTERN_B
    • EPOS2_PATTERN_C
    • EPOS2_PATTERN_D
    • EPOS2_PATTERN_E
    • EPOS2_PATTERN_ERROR
    • EPOS2_PATTERN_PAPER_EMPTY
    • EPOS2_PARAM_DEFAULT

    repeat

    • 1 to 255
    • EPOS2_PARAM_DEFAULT
  • setPrinterSetting
  • Parameter

    Specificable Setting Value

    timeout

    • Integer from 5000 to 600000
    • EPOS2_PARAM_DEFAULT

    list

    -

    type

    • EPOS2_PRINTER_SETTING_PRINTDENSITY
    • EPOS2_PRINTER_SETTING_PRINTSPEED

    value

    • EPOS2_PRINTER_SETTING_PRINTDENSITY85
    • EPOS2_PRINTER_SETTING_PRINTDENSITY90
    • EPOS2_PRINTER_SETTING_PRINTDENSITY95
    • EPOS2_PRINTER_SETTING_PRINTDENSITY100
    • EPOS2_PRINTER_SETTING_PRINTDENSITY105
    • EPOS2_PRINTER_SETTING_PRINTDENSITY110
    • EPOS2_PRINTER_SETTING_PRINTDENSITY115
    • EPOS2_PRINTER_SETTING_PRINTSPEED1
    • EPOS2_PRINTER_SETTING_PRINTSPEED2
    • EPOS2_PRINTER_SETTING_PRINTSPEED3
    • EPOS2_PRINTER_SETTING_PRINTSPEED4
    • EPOS2_PRINTER_SETTING_PRINTSPEED5
    • EPOS2_PRINTER_SETTING_PRINTSPEED6
    • EPOS2_PRINTER_SETTING_PRINTSPEED7
    • EPOS2_PRINTER_SETTING_PRINTSPEED8
    • EPOS2_PRINTER_SETTING_PRINTSPEED9
    • EPOS2_PRINTER_SETTING_PRINTSPEED10
    • EPOS2_PRINTER_SETTING_PRINTSPEED11
    • EPOS2_PRINTER_SETTING_PRINTSPEED12
    • EPOS2_PRINTER_SETTING_PRINTSPEED13

    delegate

    -

 

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