Select your printer model

Parameters are refined by the selected printer.

TM-P60 (Receipt)


Printer Specifications

Item

58mm Specification

60mm Specification

Amount of initial feed

30 dots

Initial page mode area

420 x 1200 dots

432 x 1200 dots

Maximum page mode area

420 x 1200 dots

432 x 1200 dots

Baseline of Font A

21 dots from the top of the character

Baseline of Font B

21 dots from the top of the character

Baseline of Font C

15 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_P60

    lang

    • EPOS2_MODEL_ANK
    • EPOS2_MODEL_TAIWAN
  • 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_FONT_C
    • 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

    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_FONT_C
    • EPOS2_PARAM_DEFAULT
    • EPOS2_PARAM_UNSPECIFIED

    width

    • Integer from 2 to 6
    • EPOS2_PARAM_UNSPECIFIED

    height

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

    Specificable Setting Value

    x1

    • Integer from 0 to 65535

    y1

    • Integer from 0 to 65535

    x2

    • Integer from 0 to 65535

    y2

    • Integer from 0 to 65535

    lineStyle

    • EPOS2_LINE_THIN
    • EPOS2_LINE_MEDIUM
    • EPOS2_LINE_THICK
    • EPOS2_PARAM_DEFAULT
  • addPageRectangle
  • Parameter

    Specificable Setting Value

    x1

    • Integer from 0 to 65535

    y1

    • Integer from 0 to 65535

    x2

    • Integer from 0 to 65535

    y2

    • Integer from 0 to 65535

    Style

    • EPOS2_LINE_THIN
    • EPOS2_LINE_MEDIUM
    • EPOS2_LINE_THICK
    • EPOS2_PARAM_DEFAULT
  • addCut
  • Parameter

    Specificable Setting Value

    type

    • EPOS2_CUT_FEED
    • EPOS2_CUT_NO_FEED
    • EPOS2_PARAM_DEFAULT
 

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