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-T20X
  • TM-T70
  • TM-T70II
  • TM-T81III
  • TM-T82II
  • TM-T82III
  • TM-T82IIIL
  • TM-T82X
  • TM-T83III
  • TM-T88IV
  • TM-T88V
  • TM-T88VI
  • TM-T88VII
  • TM-T90
  • TM-T100
  • TM-U220
  • TM-U220II
  • TM-U230

GS ( k   <Function 481>


[Name]

Composite Symbology: Print the symbol data in the symbol storage area

[Format]

ASCII
   
GS
  
(
  
k
  
pL
  
pH
  
cn
  
fn
  
m
Hex
1D
28
6B
03
00
34
51
30
Decimal
29
40
107
3
0
52
81
48

[Range]

(pL + pH × 256) = 3
cn = 52
fn = 81
m = 48

[Description]

Encodes and prints the GS1 DataBar symbol data in the symbol storage area using the process of GS ( k   <Function 480> .

[Notes]

  • In Standard mode, use this function when the printer is "at the beginning of a line," or "there is no data in the print buffer."
  • The symbol size that exceeds the print area cannot be printed.
  • If there is any error described below in the data of the symbol storage area, it cannot be printed.
    • There is no data (GS ( k   <Function 480> is not processed).
    • When there is a problem with the amount of data saved in the symbol storage area.
    • When the data saved in the symbol storage area includes data outside the domain.
    • When there is a problem with the combination of the line element and 2D composite element
  • Printing of symbol is not affected by print mode (emphasized, double-strike, underline, white/ black reverse printing, or 90° clockwise-rotated), except for character size and upside-down print mode.
  • In Standard mode, this command executes paper feeding for the amount needed for printing the symbol, regardless of the paper feed amount set by the paper feed setting command. After the symbol printing, the print postion is moved to left side of the printable area. Also, the printer is in the status "Beginning of the line".
  • In Page mode, the printer stores the symbol data in the print buffer without executing actual printing. The printer moves print position to the next dot of the last data of the symbol.
  • Automatically adds a separator to the line element and 2D composite element.
  • The quiet zone is not included in the printing data. Be sure to include the quiet zone when using this function.
  • The symbol is printed with appropriate printing speed regardless of the printer's maximum printing speed or the setting of GS ( K   <Function 48> .

[Notes for EAN8, EAN13, and UPC-A]

  • The data shown below is added automatically in encoding.
    • Modular check character (1 character)
    • Guard bar

[Notes for UPC-E (0 omitted [6 digit] version)

  • Calculates the modular check character automatically. The modular check character is data for deciding the bar pattern, and is not included in the print data.
  • Adds the guard bar automatically for encoding.

[Notes for UPC-E (0 not omitted [11 digit] version)]

  • Calculates the modular check character automatically. The modular check character is data for deciding the bar pattern, and is not included in the print data.
  • A shortened 6-digit code (D1 to D6) generated from the (d2...d11) data in accordance with the table below is printed.
  • Data of transmitted by host PC
    Printing data
    d2
    d3
    d4
    d5
    d6
    d7
    d8
    d9
    d10
    d11
    D1
    D2
    D3
    D4
    D5
    D6
    0 – 9
    0 – 9
    0
    0
    0
    0 – 9
    0 – 9
    0 – 9
    d2
    d3
    d9
    d10
    d11
    0
    0 – 9
    0 – 9
    1
    0
    0
    0 – 9
    0 – 9
    0 – 9
    d2
    d3
    d9
    d10
    d11
    1
    0 – 9
    0 – 9
    2
    0
    0
    0 – 9
    0 – 9
    0 – 9
    d2
    d3
    d9
    d10
    d11
    2
    0 – 9
    0 – 9
    3 – 9
    0
    0
    0 – 9
    0 – 9
    d2
    d3
    d4
    d10
    d11
    3
    0 – 9
    0 – 9
    0 – 9
    1 – 9
    0
    0 – 9
    d2
    d3
    d4
    d5
    d11
    4
    0 – 9
    0 – 9
    0 – 9
    0 – 9
    1 – 9
    5 – 9
    d2
    d3
    d4
    d5
    d6
    d11
    • Specify 0 at indicated data by "−" in the table.
    • When d6 = 1 – 9, be sure to specify (d11 = 5 – 9).
  • Adds the guard bar automatically for encoding.

[Note for GS1 DataBar Omnidirectional, GS1 DataBar Truncated and GS1 DataBar Limited]

  • The data shown below is added automatically in encoding.
    • Application identifier (AI): The AI is "01".
    • Check digit (1 character)
    • Guard pattern and separator pattern
  • Prints the 18 characters of ["(01)", (d1...d13), check digit] as HRI characters when HRI characters are designated to be added.

[Note for GS1 DataBar Stacked and GS1 DataBar Stacked Omnidirectional]

  • The data shown below is added automatically in encoding.
    • Application identifier (AI): The AI is "01".
    • Check digit (1 character)
    • Guard pattern and separator pattern
  • Even when HRI characters are designated to be added, HRI characters are not added to this symbol.

[Note for GS1 DataBar Expanded]

  • The data shown below is added automatically in encoding.
    • Guard pattern and finder pattern
  • The special characters ("(", ")") are processed as shown in the table below.
  • Special characters
    Character
    Hex
    Decimal
    Processing
    (
    28
    40
    "(" is inserted for the HRI character. "(" does not constitute encoded data.
    )
    29
    41
    ")" is inserted for the HRI character. ")" does not constitute encoded data.
  • Adds the guard pattern and finder pattern automatically.
  • When HRI characters are designated to be added, special character HRI characters are processed as follows.
    • The HRI character of function character (FNC1) is not printed.
    • The HRI characters of special characters ("(", ")") are printed as the respective characters ("(", ")").
    • The HRI characters of barcode data ["{" + ("(", ")")] are printed as the respective characters ("(", ")").

[Note for GS1 DataBar Expanded Stacked]

  • The data shown below is added automatically in encoding.
    • Guard pattern, finder pattern and separator pattern
  • For encoding, the width of the symbol is decided by the setting value of GS ( k   <Function 471> of this command (nL + nH × 256) and the current printing area (the area from the current printing position to the edge of the printing area).
    • When (nL + nH × 256) = 0, the width of the symbol is the current printing area.
    • When (nL + nH × 256) ≠ 0 is specified and the setting value is greater than the current printing area, the width of the symbol is the current printing area.
    • In cases other than above, (nL + nH × 256) is the width of the symbol.
  • Even when HRI characters are designated to be added, HRI characters are not added to this symbol.

[Note for GS1-128]

  • GS1-128 processes the following structures.
  • (a) Basic structure
  • Start character
    FNC1
    AI
    Data part
    Check digit A
    Check digit B
    Stop character
    Automatically added
    Automatically added
  • (b) Concatenated code structure
  • Start character
    FNC1
    AI
    Data part
    Check digit A
    FNC1
    AI
    Data part
    Check digit A
    Check digit B
    Stop character
    Automatically added
    Automatically added
  • The data shown below is added automatically in encoding.
    • Start character (CODE A, CODE B, CODE C) and FNC1
    • Check digit B (1 character)
    • Stop character
  • The 4 special characters (SP, "(", ")", "*") are processed as shown in the table below.
  • Special characters
    Character
    Hex
    Decimal
    Processing
    SP
    20
    32
    After d1, the first SP is processed as AI and the data part delimiter, and a space is inserted for the HRI characters. Spaces are inserted for the HRI characters for subsequent SP.
    These spaces do not constitute encoded data.
    (
    28
    40
    "(" is inserted for the HRI character. "(" does not constitute encoded data.
    )
    29
    41
    After d1, the first ")" is processed as AI and the data part delimiter, and ")" is inserted for the HRI characters. ")" are inserted for the HRI characters for subsequent ")".
    In case of any, "(" does not constitute encoded data.
    *
    2A
    42
    Check digit A (1 character), calculated with modulus 10 is added as the data part at the position of *.
    "*" is not an HRI character, but check digits are inserted for HRI characters.
  • The HRI characters of special characters are processed as follows. ("SP" indicates a space)
    • The HRI character of the start character (CODE A, CODE B, CODE C) is not printed.
    • The HRI characters of the function characters (FNC1, FNC3) and the control characters (Hex = 00h – 1Fh, 7Fh / Decimal = 0 – 31, 127) are printed as spaces.
    • The HRI characters of special characters (SP, "(", ")") are printed as the respective characters (SP, "(", ")").
    • The HRI character of special character ("*") prints a check digit.
    • The HRI characters of barcode data ["{" + ("(", ")", "*", "{")] are printed as the respective characters ("(", ")", "*", "{")
 

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