n=4: Paper roll sensor status
BIT OFF/ON
HEX
DECIMAL
FUNCTION
0
Off
00
0
Not used. Fixed to Off
1
On
02
2
Not used. Fixed to On
2,3
Off
00
0
Paper present..
On
0C
12
Near paper end.
4
On
10
16
Not used. Fixed to On
5, 6
Off
00
0
Paper present
On
60
96
Paper not present
7
Off
00
0
Not used. Fixed to Off
n=17: Print status
BIT OFF/ON
HEX
DECIMAL
FUNCTION
0
Off
00
0
Not used. Fixed to Off
1
On
02
2
Not used. Fixed to On
2
Off
00
0
Paper drag motor off
On
04
4
Paper drag motor on
3
-
-
-
RESERVED
4
On
10
16
Not used. Fixed to On
5
Off
00
0
Paper present
On
20
32
Paper absent
6
-
-
-
RESERVED
7
Off
00
0
Not used. Fixed to Off
n=20: FULL status (6 bytes)
1° Byte = 0x10 (DLE)
2° Byte = 0x0F
3° Byte = Paper status
BIT OFF/ON
HEX
DECIMAL
FUNCTION
0
OFF
00
0
Paper present
ON
01
1
Paper not present
64 │
ESC/POS™ emulation
Summary of Contents for TG02H
Page 1: ...COMMANDS MANUAL TG02H ...
Page 3: ...ESC POS EMULATION INTRODUCTION ...
Page 4: ......
Page 7: ...ESC POS emulation ...
Page 27: ... Default n 0 Reference 0x1B 0x2D 0x1B 0x45 0x1D 0x21 Example ESC POS emulation 27 ...
Page 30: ... Example 18 dots 11 cpi 14 dots 15 cpi p1 MSB LSB p2 30 ESC POS emulation ...
Page 98: ...98 ESC POS emulation ...
Page 99: ......