Select your printer model

Parameters are refined by the selected printer.

TM-m30


Printer Specifications

Item

58mm Specification

80mm Specification

Amount of initial feed

30 dots

Initial page mode area

420 x 2400 dots

576 x 2400 dots

Maximum page mode area

420 x 2400 dots

576 x 2400 dots

Baseline of Font A

21 dots from the top of the character

Baseline of Font B

ANK

21 dots from the top of the character

Chinese characters

21 dots from the top of the character

Hangul character

15 dots from the top of the character

Baseline of Font C

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

    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
    • FONT_C
  • 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
    • 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
    • FONT_C

    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
    • SYMBOL_AZTECCODE_FULLRANGE
    • SYMBOL_AZTECCODE_COMPACT
    • SYMBOL_DATAMATRIX_SQUARE
    • SYMBOL_DATAMATRIX_RECTANGLE_8
    • SYMBOL_DATAMATRIX_RECTANGLE_12
    • SYMBOL_DATAMATRIX_RECTANGLE_16

    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
    • Integer (5 to 95)
    • LEVEL_DEFAULT
  • addPageLine method
  • 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

    • LINE_THIN
    • LINE_MEDIUM
    • LINE_THICK
    • undefined
  • addPageRectangle method
  • 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

    • LINE_THIN
    • LINE_MEDIUM
    • LINE_THICK
    • undefined
  • 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

    • 1 to 255
    • 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