Select your printer model

Parameters are refined by the selected printer.
  • EU-m30
  • TM-J2000
  • TM-J2100
  • TM-L90
  • TM-L90 LFC
  • TM-L100
  • TM-m10
  • TM-m30
  • TM-m30II
  • TM-m30II-H
  • TM-m30III
  • TM-m30III-H
  • TM-m30II-NT
  • TM-m30II-S
  • TM-m30II-SL
  • TM-m50
  • TM-m50II
  • TM-m50II-H
  • TM-P20
  • TM-P20II
  • TM-P60
  • TM-P60II
  • TM-P80
  • TM-P80II
  • TM-T20
  • TM-T20II
  • TM-T20III
  • TM-T20IIIL
  • TM-T20IV-L
  • TM-T20X
  • TM-T20X-II
  • TM-T70
  • TM-T70II
  • TM-T81III
  • TM-T82II
  • TM-T82III
  • TM-T82IIIL
  • TM-T82IV-L
  • TM-T82X
  • TM-T82X-II
  • TM-T83III
  • TM-T83IV
  • TM-T88IV
  • TM-T88V
  • TM-T88VI
  • TM-T88VII
  • TM-T90
  • TM-T100
  • TM-U220
  • TM-U220II
  • TM-U230

GS ( E   <Function 12>


[Name]

Transmit the configuration item for the serial interface

[Format]

ASCII
   
GS
  
(
  
E
  
pL
  
pH
  
fn
  
a
Hex
1D
28
45
02
00
0C
a
Decimal
29
40
69
2
0
12
a

[Range]

(pL + pH × 256) = 2
fn = 12
a: different depending on the printers

[Description]

Transmits the configuration item for the serial interface specified by a.
a
Communication item
1
Transmission speed
2
Parity
3
Flow control
4
Data length
  • ESC/POS Handshaking Protocol is not required for this function.

[Notes]

  • This function works both in user setting mode and during normal printer operation.
  • This function transmits "Header to NUL" as follows:
  • Send data
    Hex
    Decimal
    Number of bytes
    Header
    37h
    55
    1 byte
    Identifier
    33h
    51
    1 byte
    Communication condition (∗1)
    30h – 34h
    48 – 52
    1 byte
    Separator
    1Fh
    31
    1 byte
    Setting value (∗2)
    30h – 39h
    48 – 57
    1 – 5 byte
    NUL
    00h
    0
    1 byte
  • (∗1)
    Communication condition transmits the value of a is converted into character data expressed by decimal numbers.
    Example:
    When [Communication condition] is the baud rate (a = 1), it is 1-byte data of "1" [Hex = 31h / Decimal = 49].
    (∗2)
    "Setting value" is set by GS ( E   <Function 11> . It might differ from the current communication condition before executing GS ( E   <Function 2> or depending on the setting of the DIP switch.
    Example:
    When the baud rate is 9600 bps, it is 4-byte data of "9600" [Hex = 39h, 36h, 30h, 30h / Decimal = 57, 54, 48, 48].
  • This function is used to confirm whether GS ( E   <Function 11> ends normally before executing GS ( E   <Function 2> .
  • See [Notes for transmission process] for process sending data group.
 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

ESC/POS® includes patented or patent pending commands. The contents must not be disclosed to third parties.


ESC/POS® Command Reference for TM Printers

Jump to the top