Citizen 120D+ User Manual page 62

Dot matrix printer
Table of Contents

Advertisement

PRINTING TEXT
SPECIAL CHARACTERS AND SYMBOLS
In addition to letters, numbers, and punctuation in both
roman and italic, the 120D+ also has many accented
characters, math and graphic symbols, and even Greek
letters in its repertoire as in the following example.
*
a
c
\
]
*
4
*
C
S
*
§
A
O
U
*
a
c
\
]
t
:
>
*
111
*
a
6
ij
fl
t
:
:
*
a
K
0
A
*94
a
a
o
A
u
e
4
6
4
u
a
*
a
\
e
ij
4
6
r*
C
'
rt
*
a
c
*
]
B
4
*
0
A
»
4
It
«l
A
'
{
;
/
u
e
9
4
u
u
s
9
4
ij
Character Font Selection
BASIC
CHR$(27) "k" CHR$(n)
(n = 0 or 1
)
Hex
1B4Bnh
(nh=
00 or 01)
This command selects between the two resident fonts in
your 120D + where:
font 1 = Courier
n = 0
font 2 = Citizen Display
n = 1
The default font for your 120D + can be set using the
internal switches (see Appendix D), however you can also
change the character font using the software commands.
Try the following programs:
:o
20
30
40
50
60
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
CHR*(27);
"k";
CHR«(0);
"THE CITIZEN 120D*
IS PRINTING THIS
IN THE COURIER FONT STYLE";
CHR«(27);
"k"; CHR$<1>|
•UE CAN CHANGE THE TYPE STYLE WITH EASE TO DISPLAY"?
CHRf(27);
"k";
CHR9(0>;
" AND BACK AGAIN"
THE CITIZEN 120D* IS PRINTING THIS IN THE COURIER FONT STYLE
WE CAN CHANGE THE TYPE STYLE WITH EASE TO DISPLAY AND BACK AGAIN
Accented (International) character sets
BASIC
CHR${27) "FT CHR$(n)
(n = Oto 10)
Hex
1B 52 nh
(nh = 01to0Ah)
The 120D + can print accented characters from nine
languages by redefining up to 12 of the standard ASCII
codes to accommodate the accented characters and special
symbols used in each language. There are eleven
international character sets available.
NOTE:
In the IBM Graphics Printer configuration, ESC R
clears all horizontal and vertical tabs (htabs and vtabs). See
Chapter 6 for details.
To select a particular set of characters, send ESC R followed
by the ASCII code number for the set you want. The values
of n are shown in Table 4-5.
50

Advertisement

Table of Contents
loading

Table of Contents