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


[Name]

Store the graphics data in the print buffer (column format)

[Format]

ASCII
   
GS
  
(
  
L
  
pL
  
pH
  
m
  
fn
  
a
  
bx
  
by
  
c
  
xL
  
xH
  
yL
  
yH
  
d1...dk
Hex
1D
28
4C
pL
pH
30
71
30
bx
by
c
xL
xH
yL
yH
d1...dk
Decimal
29
40
76
pL
pH
48
113
48
bx
by
c
xL
xH
yL
yH
d1...dk
ASCII
   
GS
  
8
  
L
  
p1
  
p2
  
p3
  
p4
  
m
  
fn
  
a
  
bx
  
by
  
c
  
xL
  
xH
  
yL
  
yH
  
d1...dk
Hex
1D
28
4C
p1
p2
p3
p4
30
71
30
bx
by
c
xL
xH
yL
yH
d1...dk
Decimal
29
56
76
p1
p2
p3
p4
48
113
48
bx
by
c
xL
xH
yL
yH
d1...dk

[Range]

(pL + pH × 256) = 11 – 65535   [When using GS ( L   /   GS 8 L]
(p1 + p2 × 256 + p3 × 65536 + p4 × 16777216) = 11 – 4294967295   [When using GS ( L   /   GS 8 L]
m = 48
fn = 113
a = 48
d = 0 – 255
k = (xL + xH × 256) × (int((yL + yH × 256) + 7) / 8)
c, xL, xH, yL, yH: different depending on the printers

[Description]

Stores the graphics data (column format) in the print buffer.
  • Users have the option of specifying horizontal bx × vertical by size settings for the selected data.
  • c specifies the color of the stored data.
  • c
    Color specifications
    49
    Color 1
    50
    Color 2
    51
    Color 3
  • 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).
  • d specifies the graphics data (column format).
  • k indicates the number of the graphics data. k is an explanation parameter; therefore it does not need to be transmitted.

[Notes]

  • The functions used to store graphics data directly to the print buffer are this function and GS ( L   /   GS 8 L   <Function 112> . Even with printer models that support both, it is recommended that only one of the functions be used for data definition tasks.
  • The two functions differ only in that one function (this function) defines data in column format, while the other (GS ( L   /   GS 8 L   <Function 112> ) defines data in raster format.
  • Use this function when the printer enters the "beginning of the line" or "except for graphic data, no data in print buffer" state during the Standard mode.
  • This command cannot be included in a macro definition. Do not use this command when defining a macro.
  • Graphics data that exceeds the print area for one line will not be printed.
  • The scales for width and height of graphics are specified by (x, y). Therefore, in Page mode with 90° or 270° clockwise-rotated graphics, the printer applies print area and dot density from [x: direction of paper feed, y: perpendicular to direction of paper feed].
  • Settings for text effect (bold, underline, orientation) and font size do not affect the printing of the graphics data.
  • Print position does not change before and after this function is used. Overprinting of data of multiple colors can be performed by simply changing the selected color (c) and running this function again, but it is impossible to specify the same color to overprint.
  • Use GS ( L   <Function 50> to print graphics after graphics data has been stored in the print buffer when the Standard mode is selected.
  • The data for byte k of d1 ... dk is processed as a single item of defined graphics data. Data (d) specifies a bit printed to 1 and not printed to 0.
  • Graphics data is defined using the dot density set by GS ( L   <Function 49> .
  • During processing of this function, real time commands aren't available.
  • The relationship between 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