BIT IMAGE COMMANDS
0x1B 0x2A
<ESC *>
Select image print mode
Valid for
TG02H
[Format]
ASCII
ESC *
m nL nH d1...dk
Hex
1B 2A m nL nH d1...dk
Decimal
27 42 m nL nH d1...dk
[Range]
m = 0, 1, 32, 33
0 ≤ nL ≤ 255
0 ≤ nH ≤ 3
0 ≤ d ≤ 255
[Description]
Selects a bit image mode using m for the number of dots specified by nL and nH, as follows:
m
MODE
VERTICAL DIRECTION
HORIZONTAL DIRECTION (*1)
N. DOTS
DPI
DPI
N. DATA (k)
0
8 dot single density
8
67
100
nL + nH x 256
1
8 dot double density
8
67
200
nL + nH x 256
32
24 dot single density
24
200
100
(nL + nH x 256) x 3
33
24 dot double density
24
200
200
(nL + nH x 256) x 3
[Notes]
• The nL and nH commands indicate the number of dots of the bit image in the horizontal direction.
The number of dots is calculated using: nL + nH * 256.
• If the bit image data input exceeds the number of dots to be printed on a line, the excess data is
ignored.
• d indicates the bit image data. Set a corresponding bit to 1 to print a dot, or to 0 to not print the dot.
• If the value of m is outside the specified range, nL and data following it are processed as normal
data.
• If the width of the printing area set by 0x1D 0x4C and 0x1D 0x57 is less than the width required by
the data set using 0x1B 0x2A , the excess data are ignored.
• To print the bit image use 0x0A 0x0D, 0x1B 0x4A or 0x1B 0x64.
• After printing a bit image, the printer returns to normal data processing mode.
• This command is not affected by the emphasized, double-strike, underline (etc.) print modes, except
for the upside-down mode.
58 │
ESC/POS™ emulation
Содержание TG02H
Страница 1: ...COMMANDS MANUAL TG02H ...
Страница 3: ...ESC POS EMULATION INTRODUCTION ...
Страница 4: ......
Страница 7: ...ESC POS emulation ...
Страница 27: ... Default n 0 Reference 0x1B 0x2D 0x1B 0x45 0x1D 0x21 Example ESC POS emulation 27 ...
Страница 30: ... Example 18 dots 11 cpi 14 dots 15 cpi p1 MSB LSB p2 30 ESC POS emulation ...
Страница 98: ...98 ESC POS emulation ...
Страница 99: ......