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 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.
-
aTone of data48Monochrome (digital)52Multiple tone
-
c specifies the color of the stored data.
-
cColor specifications49Color 150Color 251Color 352Color 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.
-
-
The two functions differ only in that one function (this function) defines data in raster format, while the other (GS ( L / GS 8 L <Function 113> ) defines data in column 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.
-
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.
-
Quick Access
- [Name]
- [Format]
- [Range]
- [Description]
- [Notes]
ESC/POS® includes patented or patent pending commands. The contents must not be disclosed
to third parties.
- Introduction
- Command Lists
- Commands in Code Order
- Applicable printers
- Command List by Model
- EU-m30
- TM-J2000, TM-J2100
- TM-L90
- TM-L90 LFC
- TM-L100
- TM-m10
- TM-m30
- TM-m30II
- TM-m30II-H
- TM-m30II-NT
- TM-m30II-S
- TM-m30II-SL
- TM-m30III
- TM-m30III-H
- TM-m50
- TM-m50II
- TM-m50II-H
- TM-P20
- TM-P20II
- TM-P60
- TM-P60II
- TM-P80
- TM-P80II
- TM-T100
- 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-U220
- TM-U220II
- TM-U230
- Obsolete Commands
- Commands Arranged by Function
- Print Commands
- Line Spacing Commands
- Character Commands
- Printing Paper Commands
- Label and black mark control
- Print Position Commands
- Paper Sensor Commands
- Mechanism Control Commands
- Bit Image Commands
- Bit Image
- GS ( L / GS 8 L
- GS D
- Graphics
- NV Graphics
- Download Graphics
- Panel Button Commands
- Status Commands
- Barcode Commands
- Two-dimensional Code Commands
- GS ( k
- PDF417
- QR Code
- MaxiCode
- 2-dimensional GS1 DataBar
- Composite Symbology
- Aztec Code
- DataMatrix
- Macro Function Commands
- Kanji Commands
- Miscellaneous Commands
- DLE ENQ
- DLE DC4 <fn=1>
- DLE DC4 <fn=2>
- DLE DC4 <fn=3>
- DLE DC4 <fn=7>
- DLE DC4 <fn=8>
- ESC ( Y
- ESC =
- ESC @
- ESC L
- ESC S
- ESC p
- GS ( A
- GS ( D
- GS I
- GS P
- GS g 0
- GS g 2
- GS z 0
- Response or status transmission
- Print control methods
- Beeper tone control
- Graphics drawing
- Receipt enhancement control
- Page mode control
- Customize Commands
- User setup
- GS ( E
- GS ( E <fn=1>
- GS ( E <fn=2>
- GS ( E <fn=3>
- GS ( E <fn=4>
- GS ( E <fn=5>
- GS ( E <fn=6>
- GS ( E <fn=7>
- GS ( E <fn=8>
- GS ( E <fn=9>
- GS ( E <fn=10>
- GS ( E <fn=11>
- GS ( E <fn=12>
- GS ( E <fn=13>
- GS ( E <fn=14>
- GS ( E <fn=15>
- GS ( E <fn=16>
- GS ( E <fn=48>
- GS ( E <fn=49>
- GS ( E <fn=50>
- GS ( E <fn=51>
- GS ( E <fn=52>
- GS ( E <fn=99>
- GS ( E <fn=100>
- Printer customization
- NV user memory
- User setup
- Counter Printing Commands
- Programming Examples
- Appendixes