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 ( L   /   GS 8 L   <Function 84>


[Name]

Define the download graphics data (column format)

[Format]

ASCII
   
GS
  
(
  
L
  
pL
  
pH
  
m
  
fn
  
a
  
kc1
  
kc2
  
b
  
xL
  
xH
  
yL
  
yH
  
[c d1...dk]1...[c d1...dk]b
Hex
1D
28
4C
pL
pH
30
54
30
kc1
kc2
b
xL
xH
yL
yH
[c d1...dk]1...[c d1...dk]b
Decimal
29
40
76
pL
pH
48
84
48
kc1
kc2
b
xL
xH
yL
yH
[c d1...dk]1...[c d1...dk]b
ASCII
   
GS
  
8
  
L
  
p1
  
p2
  
p3
  
p4
  
m
  
fn
  
a
  
kc1
  
kc2
  
b
  
xL
  
xH
  
yL
  
yH
  
[c d1...dk]1...[c d1...dk]b
Hex
1D
38
4C
p1
p2
p3
p4
30
54
30
kc1
kc2
b
xL
xH
yL
yH
[c d1...dk]1...[c d1...dk]b
Decimal
29
56
76
p1
p2
p3
p4
48
84
48
kc1
kc2
b
xL
xH
yL
yH
[c d1...dk]1...[c d1...dk]b

[Range]

(pL + pH × 256) = 12 – 65535   [When using GS ( L   /   GS 8 L]
(p1 + p2 × 256 + p3 × 65536 + p4 × 16777216) = 12 – 4294967295   [When using GS ( L   /   GS 8 L]
m = 48
fn = 84
a = 48
kc1 = 32 – 126
kc2 = 32 – 126
(xL + xH × 256) = 1 – 8192
(yL + yH × 256) = 1 – 2304
d = 0 – 255
k = (xL + xH × 256) × (int((yL + yH × 256) + 7) / 8)
b, c: different depending on the printers

[Description]

Defines the download graphics data (column format) as a record specified by the key codes (kc1 and kc2) in the download graphics area.
  • b specifies the number of colors for the definition data.
  • xL and xH specify the number of dots in the horizontal direction as (xL + xH × 256).
  • yL and yH specify the number of dots in the vertical direction as (yL + yH × 256).
  • c specifies the color of the definition data.
  • c
    Color specifications
    49
    Color 1
    50
    Color 2
    51
    Color 3
  • d specifies the definition data (raster format).
  • k indicates the number of the definition data. k is an explanation parameter; therefore it does not need to be transmitted.
  • In cases where the specified key code already exists in memory, it will be necessary to overwrite the data.

[Notes]

  • Download graphics data is defined in the printer's internal volatile memory (RAM). The defined data is valid until redefined, reset or turned off the printer. Some models delete the data when executed ESC @.
  • The functions used to define download graphics data are this function and GS ( L   /   GS 8 L   <Function 83> . Even with printer models that support both, it is recommended that only one of the functions be used for data definition tasks.
    • Definition area and control information are the same in both functions, although the definition data format is different; raster format or column format.
    • In cases where the key code specified by this function coincides with a key code being used by GS ( L   /   GS 8 L   <Function 83> , a new data definition is created.
  • Use this function at the beginning of the line when the Standard mode is selected.
  • This command cannot be included in a macro definition. Do not use this command when defining a macro.
  • In cases where there is insufficient capacity available for storing download graphics data, this function cannot be used. Use GS ( L   <Function 52> to confirm the available capacity in the download graphics data area.
  • One option is to delete items of download graphics data that were previously defined to the same key code.
  • The data for byte k of d1 ... dk is processed as a single item of defined download graphics data. Data (d) specifies a bit printed to 1 and not printed to 0.
  • Download graphics data is defined using the dot density set by GS ( L   <Function 49> .
  • Specify single data groups [c d1 ... dk] when monochrome is selected (b = 1) as the color.
  • Specify b number of data groups [c d1 ... dk] when multiple colors are selected (b ≠ 1). It is also important to specify different colors in units of data groups when specifying color (c).
  • Download graphics data is printed using GS ( L   <Function 85> .
  • Note that it is not possible to create definitions for both download graphics data (this command) and download bit image data (GS *   [obsolete command] ). Download bit image data definitions are deleted when this command is used.
  • For some models, download graphics (this command) and user-defined characters (ESC &) cannot be defined simultaneously.
    • User-defined characters defined are deleted by using this command.
    • Download graphics data are deleted by ESC &.
  • The relationship between download graphics data (raster format) and print results is shown in the table below.
  • Graphic
 

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