3. PRINTER FUNCTIONS
3. PRINTER FUNCTIONS
TG558
29
3-
n
2
7
$
D
1
$
[Name]
Transmit status
[Format]
ASCII
GS
r
n
Hex
1D
72
n
Decimal
29
114
n
[Range]
n = 1, 49
[Description]
Transmits the status specified by
n
as follows:
n
Function
1, 49
Transmits paper sensor status (as for
$1D $76
).
Paper sensor status (n = 1, 49)
ti
B
n
O
/f
f
O
x
e
H
l
a
m
i
c
e
D
n
o
it
c
n
u
F
0 1
,
-
-
-
D
E
V
R
E
S
E
R
3
,
2
ff
O
0
0
0
:
r
o
s
n
e
s
d
n
e
-
r
e
p
a
P
t
n
e
s
e
r
p
r
e
p
a
P
n
O
)
C
0
(
)
2
1
(
:
r
o
s
n
e
s
d
n
e
-
r
e
p
a
P
t
n
e
s
e
r
p
t
o
n
r
e
p
a
P
4
ff
O
0
0
0
.f
f
O
o
t
d
e
x
i
F
.
d
e
s
u
t
o
N
5
-
-
-
D
E
V
R
E
S
E
R
6
-
-
-
D
E
V
R
E
S
E
R
7
-
-
-
D
E
V
R
E
S
E
R
[Notes]
• This command is executed when the data is processed in the data buffer. Therefore,
there may be a time lag between receiving the command and transmitting the status,
depending on data buffer status.
[Default]
[Reference]
$10 $04, $1B $76
[Example]
B
E
$
D
1
$
[Name]
Received, save, execute melody
[Format]
ASCII
GS
{}
N
k
Hex
1D
EB
4E
k
Decimal
29
235
78
k
ASCII
GS
{}
w
k
mh
ml
n1t1..nmtm
Hex
1D
EB
77
k
mh
ml
n1t1..nmtm
Decimal
29
235
119
k
mh
ml
n1t1..nmtm
[Range]
1
≤
k
≤
4, 49
≤
k
≤
52
1
≤
k
≤
4, 49
≤
k
≤
52
0
≤
mH
≤
255, 0
≤
mL
≤
255
[Description]
• This command is used for receiving and saving a melody.
• The k parameter selects the melody to execute.
• This command save a melody into flash.
• k parameter selects the melody to receive.
• mh and mL are the number of notes to receive (mH x 256 + mL).
• n indicates the note to play (see Note Table).
• t indicates the duration of playing note ; (the exactly duration of any note will be
expressed in multiples of 5 ms).