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 ( E <Function 9>
[Name]
Define the data (raster format) for the character code page
[Format]
ASCII
|
|
GS
|
|
(
|
|
E
|
|
pL
|
|
pH
|
|
fn
|
|
y
|
|
c1
|
|
c2
|
|
[x d1 ... d(x × y)] k
|
Hex
|
1D
|
28
|
45
|
pL
|
pH
|
09
|
y
|
c1
|
c2
|
[x d1 ... d(x × y)] k
|
||||||||||
Decimal
|
29
|
40
|
69
|
pL
|
pH
|
9
|
y
|
c1
|
c2
|
[x d1 ... d(x × y)] k
|
[Range]
(pL + pH × 256) = 5 – 65535
fn = 9
128 ≤ c1 ≤ d2 ≤ 255
d = 0 – 255
k = c2 - c1 + 1
Font No. (configuration)
|
y
|
x
|
---|---|---|
10 (9 × 17)
|
2
|
17
|
12 (12 × 24)
|
2
|
24
|
17 (8 × 16)
|
1
|
16
|
18 (10 × 24)
|
2
|
24
|
[Description]
Defines the character pattern (raster format) for the character code page in the work
area.
-
x specifies the number of bytes in the horizontal direction.
-
c1 specifies the beginning character code for the definition, and c2 specifies the final code.
-
y specifies the number of dots in the vertical direction from the top.
-
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.
[Notes]
-
This function works in user setting mode.
-
Characters in Hexadecimal: 80h – FFh / in Decimal: 128 – 255 in ASCII code can be defined.
-
If y, c1, c2, or x process a value out of the definition range, processing of this function is canceled.
-
Changes the data of the user-defined code page that is copied into the work area by GS ( E <Function 7> .
-
If the data in the user-defined code pages is not copied into the work area, this function is not available. In this case, execute GS ( E <Function 7> first.
-
Data (d) specifies a bit printed to 1 and not printed to 0. The data to define a character is (x × y) bytes.
-
When defining the character of the Font No. 10 (configuration: 9 × 17), only the MSB can be used in the second byte for horizontal direction. When defining the character of the Font No. 12 (configuration: 12 × 24), only the upper four bits can be used in the second byte for horizontal direction. All bits can be used when defining characters of other fonts.
-
Definition data (d) defines the y dots pattern from the top of the characters. When y is smaller than the number of dots composing the built-in character, any remaining dots below are blank.
-
Deletes the character data defined in the same code.
-
GS ( E <Function 8> can also define character data. It is recommended that either of the functions be used even if both functions are supported.
-
-
Definition area and printing results are the same in both functions, although GS ( E <Function 8> processes the data in column format, and GS ( E <Function 9> processes the data in raster format.
-
-
The relation between the definition data and printing result is as follows.
-
Example: Characters composed of 24 × 12 dots (x = 2, y = 24)
-
The second bytes in the horizontal position use 4 bits of the MSB.
-
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