3. PRINTER FUNCTIONS
PRT 80
41
3-
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:
$1B $40
or
$1B $3F
are executed or the printer is reset or the power shut off.
[Default]
Internal character set.
[Reference]
$1B $25, $1B $3F
[Example]
k
d
.
.
.
1
d
H
n
L
n
m
A
2
$
B
1
$
[Name]
Select bit image mode
[Format]
ASCII
ESC *
m
nL
nH
d1...dk
Hex
1B 2A
m
nL
nH
d1...dk
Decimal 27
42
m
nL
nH
d1...dk
[Range]
m = 0, 1, 32, 33
0
≤
nL
≤
255
0
≤
nH
≤
1
0
≤
d
≤
255
[Description]
Selects a bit image mode using
m
for the number of dots specified by
nL
and
nH
, as
follows:
m
e
d
o
M
n
o
it
c
e
ri
d
l
a
c
it
r
e
V
)
1
*
(
n
o
it
c
e
ri
d
l
a
t
n
o
z
ir
o
H
s
t
o
d
.
N
I
P
D
I
P
D
)
k
(
a
t
a
D
f
o
.
N
0
y
ti
s
n
e
d
e
l
g
n
i
s
t
o
d
8
8
7
6
0
0
1
6
5
2
x
H
n
+
L
n
1
y
ti
s
n
e
d
e
l
b
u
o
d
t
o
d
8
8
7
6
0
0
2
6
5
2
x
H
n
+
L
n
2
3
y
ti
s
n
e
d
e
l
g
n
i
s
t
o
d
4
2
4
2
0
0
2
0
0
1
3
x
)
6
5
2
x
H
n
+
L
n
(
3
3
y
ti
s
n
e
d
e
l
b
u
o
d
t
o
d
4
2
4
2
0
0
2
0
0
2
3
x
)
6
5
2
x
H
n
+
L
n
(
[Notes]
• The
nL
and
nH
commands indicate the number of dots of the bit image in the horizontal
direction. The number of dots is calculated using: nL + nH
×
256.
• If the bit image data input exceeds the number of dots to be printed on a line, the
excess data is ignored.
•
d
indicates the bit image data. Set a corresponding bit to 1 to print a dot, or to 0 to not
print the dot.
• If the value of
m
is outside the specified range,
nL
and data following it are processed
as normal data.
• If the width of the printing area set by
$1D $4C
and
$1D $57
is less than the width
required by the data set using
$1B $2A
, the excess data are ignored.
• To print the bit image use
$0A
,
$0D
,
$1B $4A
or
$1B $64
.
Summary of Contents for PRT 80
Page 1: ...PRT 80 Thermal printer for information kiosks and ATMs PRT 80 User Manual www custom it ...
Page 6: ...TABLE OF CONTENTS PRT 80 ii Blank Page ...
Page 14: ...1 INSTALLATION AND USE PRT 80 4 1 Section printer wiew Fig 1 3 Fig 1 4 ...
Page 16: ...1 INSTALLATION AND USE PRT 80 6 1 Blank page ...
Page 92: ...4 TECHNICAL SPECIFICATIONS PRT 80 4 4 Fig 4 3 Top view Low view Fig 4 4 4 X M3 ...