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


[Name]

Store the graphics data in the print buffer (raster 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
70
a
bx
by
c
xL
xH
yL
yH
d1...dk
Decimal
29
40
76
pL
pH
48
112
a
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
38
4C
p1
p2
p3
p4
30
70
a
bx
by
c
xL
xH
yL
yH
d1...dk
Decimal
29
56
76
p1
p2
p3
p4
48
112
a
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 = 112
bx = 1, 2
by = 1, 2
d = 0 – 255
k = (int((xL + xH × 256) + 7)/8) × (yL + yH × 256)
a, c, xL, xH, yL, yH: different depending on the printers

[Description]

Stores the graphics data (raster format) in the print buffer.
  • Users have the option of specifying horizontal (times bx) × vertical (times by) size settings for the selected data.
  • a specifies the tone of the stored data.
  • a
    Tone of data
    48
    Monochrome (digital)
    52
    Multiple tone
  • c specifies the color of the stored data.
  • c
    Color specifications
    49
    Color 1
    50
    Color 2
    51
    Color 3
    52
    Color 4
  • 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 stored data (raster 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 113> . Even with printer models that support both, it is recommended that only one of the functions be used for data definition tasks.
  • 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.
  • Multiple tone printing is not supported in Page mode. If this command is executed in Page mode and multiple tone graphics is specified with the parameter a, the command is ignored.
  • 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 not possible 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 are not available.
  • The relationship between 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