3. PRINTER FUNCTIONS
TPTCM
43
3-
[Default]
[Reference]
$1B $5C, $1D $50
[Example]
n
5
2
$
B
1
$
[Name]
Select/cancel user-defined characters
[Format]
ASCII
ESC
%
n
Hex
1B
25
n
Decimal
27
37
n
[Range]
0
≤
n
≤
255
[Description]
Selects or cancels the user-defined character set.
When the Least Significant Bit (LSB) of n is 0, the user-defined character set is can-
celed.
When the LSB of n is 1, the user-defined character set is selected.
[Notes]
• Only the LSB of n is applicable.
• When the user-defined character set is canceled, the internal character set is automati-
cally selected.
[Default]
n=0
[Reference]
$1B $26, $1B $3F
[Example]
]
)
k
x
x
y
(
d
..
.
1
d
k
x
[.
..
]
)
1
x
x
y
(
d
..
.
1
d
1
x
[
2
c
1
c
y
6
2
$
B
1
$
[Name]
Defines user-defined characters
[Format]
ASCII
ESC
&
y
c1
c2
Hex
1B
26
y
c1
c2
Decimal
27
37
y
c1
c2
[Range]
y = 3
32
≤
c1
≤
c2
≤
126
0
≤
x
≤
14 (Font ( 14
×
24))
0
≤
x
≤
10 (Font 10
×
24)
0
≤
x
≤
8 (Font 8
×
24)
0
≤
d1 … d (y
×
xk)
≤
255
k = c2 – c1 + 1
[Description]
Defines user-defined characters.
Y specifies the number of bytes in the vertical direction.
C1 specifies the beginning character code for the definition, and C2 specifies the final
code.
X specifies the number of dots in the horizontal direction.
[Notes]
• The allowable character code range is from ASCII 20H (32) to 7EH (126) (95 charac-
ters).
• It is possible to define multiple characters for consecutive character codes. If only one
character is desired, use c1 = c2.
• If c2 < c1, the command is not executed.
• d is the dot data for the characters. The dot pattern is in the horizontal direction starting
from the left. Any remaining dots on the right remain blank.
• The data to define a user-defined character is ( x x y) bytes.
• To print a dot, set the corresponding bit to 1; to not have it print, set to 0.
• This command can define different user-defined character patterns for each font. To
select the font, use
$1B $21
.
• The user-defined character definitions are cleared when:
Содержание 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 ...