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 68>


[Name]

Define the NV 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
44
30
kc1
kc2
b
xL
xH
yL
yH
[c d1...dk]1...[c d1...dk]b
Decimal
29
40
76
pL
pH
48
68
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
44
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
68
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 = 68
a = 48
kc1 = 32 – 126
kc2 = 32 – 126
d = 0 – 255
k = (xL + xH × 256) × (int((yL + yH × 256) + 7) / 8)
b, c, xL, xH, yL, yH: different depending on the printers

[Description]

Defines the NV graphics data (column format) as a record specified by the key codes (kc1 and kc2 ) in the NV 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 specification
    49
    Color 1
    50
    Color 2
    51
    Color 3
  • d specifies the definition data (column 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]

  • NV graphics indicate image data groups defined in the printer's internal non-volatile memory. Data definitions for NV graphics data created using this command are valid until redefined by this function or GS ( L   /   GS 8 L   <Function 67> .
  • The functions used to define NV graphics data are this function and GS ( L   /   GS 8 L   <Function 67> . 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 67> , 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 NV graphics data, this function cannot be used. Use GS ( L   <Function 51> to confirm the available capacity in the NV graphics data area.
  • One option is to delete items of NV 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 NV graphics data. Data (d) specifies a bit printed to 1 and not printed to 0.
  • NV 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).
  • NV graphics data is printed using GS ( L   <Function 69> .
  • Note that it is not possible to create definitions for both NV graphics data (this command) and NV bit image data (FS q   [obsolete command] ). NV bit image data definitions are deleted when this command is used.
  • The relationship between NV graphics data (column 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