3. PRINTER FUNCTIONS
3. PRINTER FUNCTIONS
TG558
27
3-
n
≤
34 for 35mm model
[Default]
[Reference]
[Example]
n
m
2
6
$
D
1
$
[Name]
Management of barcode printing.
[Format]
ASCII GS
b
m
n
Hex
1D
62
m
n
Decimal
29
124
m
n
[Range]
m = ‘p’, ‘P’
1
≤
n
≤
3, 49
≤
n
≤
51
m = ‘t’, ‘T’
48
≤
n
≤
56
m = ‘c’, ‘C’
n = ‘z’, ‘Z’, ‘i’, ‘I’, ‘d’, ‘D’, ‘r’, ‘R’
[Description]
This command prints a EAN13 barcode already formatted ; n specifies the
formattation type as follows :
n
t
a
m
r
o
f
e
d
o
c
r
a
B
9
4
,
1
S
S
m
m
H
H
Y
Y
M
M
D
D
0
5
,
2
Y
M
M
D
D
n
S
S
m
m
H
H
1
5
,
3
m
m
H
H
Y
M
M
D
D
n
n
n
where :
DD
-> day
MM
-> month
YY
-> year
HH
->hour
mm
-> minutes
SS
-> seconds
n
-> terminal number(0-9)
nnn
-> progressive ticket number
This command sets the terminal number that will be printed in the barcode if it was
selected the DDMMY
n
HHmmSS format.
• The terminal number value must be included between 0 and 9 (n).
After receiving this command the printer send a byte to host in the following format :
1° byte:
ACK ($06)
if the setting value is included in the interval
NAK ($15)
if the setting value is not included in the interval
• The terminal number is stored into EEprom so this value still remains also after a reset
command or printer shut-down.
This command is relative to the counter defined as progressive of ticket printed; n
specifies the operation executed on counter as indicated in the following table :
n
n
o
i
t
c
n
u
F
'
Z
'
,'
z
'
r
e
t
n
u
o
c
t
e
k
c
it
e
v
i
s
s
e
r
g
o
r
p
e
h
t
s
t
e
s
e
R
'I
'
,'
i'
r
e
t
n
u
o
c
t
e
k
c
it
e
v
i
s
s
e
r
g
o
r
p
e
h
t
s
e
s
a
e
r
c
n
I
'
D
'
,'
d
'
r
e
t
n
u
o
c
t
e
k
c
it
e
v
i
s
s
e
r
g
o
r
p
e
h
t
s
e
s
a
e
r
c
e
D
'
R
'
,'
r'
r
e
t
n
u
o
c
t
e
k
c
it
e
v
i
s
s
e
r
g
o
r
p
e
h
t
s
d
a
e
R
• The counter value is stored into RAM so when the printer resets or shut-down the
counter is reset .
[Notes]
[Default]
[Reference]
[Example]