3. PRINTER FUNCTIONS
3. PRINTER FUNCTIONS
TG558
9
3-
[Reference]
$12, $14
[Example]
To set the time 12:45 on 19-01-93, transmit
1
2
4
5
1
9
0
1
9
3
$13
$31 $32
$34
$35
$31
$39
$30
$31
$39
$33
$13
To set the time A 12:45 on 19-01-93, transmit
A
1
2
4
5
1
9
0
1
9
3
$13
$41 $31
$32
$34
$35
$31
$39
$30
$31
$39
$33
$13
4
1
$
[Name]
Transmit the time and date in serial
[Format]
ASCII
-
Hex
14
Decimal
20
[Description]
Transmit the time and date on serial port with ASCII format (11 ASCII characters) :
hours/minutes/day/mont h/year + (CR) $0D
[Notes]
• This command is present only in the printer version with display (TG558-D) and RTCK
option.
[Default]
[Reference]
$13, $14
[Example]
n
3
2
$
B
1
$
[Name]
Transmit printer ID
[Format]
ASCII
ESC
#
n
Hex
1B
23
n
Decimal
27
73
n
[Range]
1
≤
n
≤
3, 49
≤
n
≤
51
[Description]
Transmits the printer ID specified by
n
follows:
n
D
I
r
e
t
n
i
r
P
n
o
i
t
a
c
i
f
i
c
e
p
S
9
4
,
1
D
I
l
e
d
o
m
r
e
t
n
ir
P
)l
e
d
o
m
m
m
8
5
(
8
6
$
)l
e
d
o
m
m
m
5
3
(
9
6
$
0
5
,
2
d
e
s
u
t
o
N
0
0
$
n
o
d
e
x
i
F
1
5
,
3
M
O
R
D
I
n
o
i
s
r
e
v
s
d
n
e
p
e
D
n
o
)
r
a
h
c
4
(
M
O
R
n
o
i
s
r
e
v
[Notes]
• This command is executed when the data is processed in the data buffer. Therefore,
there could be a time lag between command reception and data transmission, depending
on data buffer status.
[Default]
[Reference]
[Example]
H
n
L
n
6
7
$
8
2
$
B
1
$
[Name]
Set relative vertical print position
[Format]
ASCII
ESC (
v
nL
nH
Hex
1B
28
76
nL
nH
Decimal 27
10
118
nL
nH