3. PRINTER FUNCTIONS
TPTCM
23
3-
[Example]
To print from ram bank dotline 100 to dotline 299, send:
$1B
$FA
$00
$00
$64
$00
$C7
)
e
c
a
f
r
e
t
n
i
l
a
i
r
e
s
y
l
n
o
(
H
n
L
n
B
F
$
B
1
$
[Name]
Transmit ram bank to serial port
[Format]
ASCII
ESC
{ }
nL
nH
Hex
1B
FB
nL
nH
Decimal
27
251
nL
nH
[Description]
Transmits (nH x 256) + nL bytes of ram bank to serial port.
[Notes]
• The size of ram bank for graphic printing is :
G
448 horizontal dots (56 bytes/dotline) x 585 vertical dots (32760 bytes = 16380 words).
H
832 horizontal dots (104 bytes/dotline) x 315 vertical dots (32760 bytes = 16380
words).
•
G
indicates TPTCM60x
H
indicates TPTCM112x
[Default]
[Reference]
$1B $FC, $1B $FD, $1B $FE
[Example]
n
C
F
$
B
1
$
[Name]
Transfer flash bank into ram bank
[Format]
ASCII
ESC
{ }
n
Hex
1B
FC
n
Decimal
27
252
n
[Range]
1
≤
n
≤
3
[Description]
Transfers flash bank into ram bank (32768 bytes).
n
selects the bank as follows:
n
n
o
it
c
n
u
F
1
m
a
r
o
t
n
i
1
o
g
o
l
k
n
a
b
h
s
a
l
f
s
r
e
f
s
n
a
r
T
2
m
a
r
o
t
n
i
2
o
g
o
l
k
n
a
b
h
s
a
l
f
s
r
e
f
s
n
a
r
T
3
m
a
r
o
t
n
i
3
o
g
o
l
k
n
a
b
h
s
a
l
f
s
r
e
f
s
n
a
r
T
[Notes]
[Default]
[Reference]
$1B $FA, $1B $FD, $1B $FE
[Example]
H
n
L
n
D
F
$
B
1
$
[Name]
Receive ram bank from serial port
[Format]
ASCII
ESC { }
nL
nH
Hex
1B
FD
nL
nH
Decimal
27
253
nL
nH
[Range]
0
≤
nL
,
nH
≤
255
Содержание TPTCM
Страница 1: ...TPTCM Kiosk and ticket printer TPTCM 60 mm 112 mm User Manual www custom it ...
Страница 8: ...TPTCM Blank page ...
Страница 10: ...TABLE OF CONTENTS TPTCM ii Blank page ...
Страница 14: ...INTRODUCTION TPTCM 4 Blank page ...
Страница 20: ...1 INSTALLATION AND USE TPTCM 6 1 Fig 1 7 ...
Страница 110: ...4 TECHNICAL SPECIFICATIONS TPTCM 12 4 Blank page ...
Страница 114: ...5 CHARACTER SETS TPTCM 4 5 Blank page ...
Страница 122: ...APPENDIX A ACCESSORIES AND SPARE PARTS TPTCM 8 A Blank page ...
Страница 123: ...APPENDIX A ACCESSORIES AND SPARE PARTS TPTCM 9 A Blank page ...
Страница 124: ...APPENDIX A ACCESSORIES AND SPARE PARTS TPTCM 10 A Blank page ...